BSC_Tests: Add test case for RSL link drop counter
Change-Id: I7b692cceaed07c112f8c62b87081cfdb322c8120
diff --git a/bsc/BSC_Tests.ttcn b/bsc/BSC_Tests.ttcn
index 5988b28..b6d28b1 100644
--- a/bsc/BSC_Tests.ttcn
+++ b/bsc/BSC_Tests.ttcn
@@ -1053,6 +1053,24 @@
}
}
+/* 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 @@
execute( TC_paging_imsi_nochan_all() );
execute( TC_paging_imsi_a_reset() );
execute( TC_paging_imsi_load() );
+
+ execute( TC_rsl_drop_counter() );
}
}