This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
Harald Welte gerrit-no-reply at lists.osmocom.orgHarald Welte has submitted this change and it was merged.
Change subject: BSC_Tests: Add test case for RSL link drop counter
......................................................................
BSC_Tests: Add test case for RSL link drop counter
Change-Id: I7b692cceaed07c112f8c62b87081cfdb322c8120
---
M bsc/BSC_Tests.ttcn
1 file changed, 20 insertions(+), 0 deletions(-)
Approvals:
Harald Welte: Looks good to me, approved
Jenkins Builder: Verified
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() );
}
}
--
To view, visit https://gerrit.osmocom.org/5368
To unsubscribe, visit https://gerrit.osmocom.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I7b692cceaed07c112f8c62b87081cfdb322c8120
Gerrit-PatchSet: 1
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder