BSC_Tests: Add test case for RSL link drop counter

Change-Id: I7b692cceaed07c112f8c62b87081cfdb322c8120
This commit is contained in:
Harald Welte 2017-12-14 18:31:02 +01:00
parent 799c97bb9d
commit 4e9b9cc114
1 changed files with 20 additions and 0 deletions

View File

@ -1053,6 +1053,24 @@ testcase TC_paging_imsi_a_reset() runs on test_CT {
}
}
/* Test RSL link drop causes counter increment */
testcase TC_rsl_drop_counter() runs on test_CT {
var integer rsl_fail;
f_init();
f_bssap_reset();
rsl_fail := f_ctrl_get_ratectr_abs(IPA_CTRL, "bts", 0, "rsl_fail");
bts[0].rsl.vc_IPA.stop;
f_ctrl_get_exp_ratectr_abs(IPA_CTRL, "bts", 0, "rsl_fail", rsl_fail+1);
setverdict(pass);
}
/* TODO: Test OML link drop causes counter increment */
control {
execute( TC_ctrl_msc_connection_status() );
execute( TC_ctrl() );
@ -1088,6 +1106,8 @@ control {
execute( TC_paging_imsi_nochan_all() );
execute( TC_paging_imsi_a_reset() );
execute( TC_paging_imsi_load() );
execute( TC_rsl_drop_counter() );
}
}