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: msc: Add TC_establish_and_nothing
......................................................................
msc: Add TC_establish_and_nothing
Change-Id: Ia8782558d8570750fd95c2b41953aaa61839ef8c
Related: OS#2879
---
M msc_tests/MSC_Tests.ttcn
1 file changed, 29 insertions(+), 0 deletions(-)
Approvals:
Harald Welte: Looks good to me, approved
Jenkins Builder: Verified
diff --git a/msc_tests/MSC_Tests.ttcn b/msc_tests/MSC_Tests.ttcn
index c5ab892..f26a825 100644
--- a/msc_tests/MSC_Tests.ttcn
+++ b/msc_tests/MSC_Tests.ttcn
@@ -1136,6 +1136,35 @@
vc_conn.done;
}
+/* Test Complete L3 with random payload */
+private function f_tc_establish_and_nothing(charstring id, BSC_ConnHdlrPars pars) runs on BSC_ConnHdlr {
+ g_pars := pars;
+
+ f_perform_lu(false, true, true, false);
+
+ f_establish_fully(valueof(ts_MI_IMSI_LV(g_pars.imsi)), false, false);
+ timer T := 30.0;
+ alt {
+ [] T.timeout { setverdict(fail, "Timeout waiting for channel release"); }
+ [] BSSAP.receive(tr_BSSMAP_ClearCommand) {
+ BSSAP.send(ts_BSSMAP_ClearComplete);
+ BSSAP.receive(BSSAP_Conn_Prim:MSC_CONN_PRIM_DISC_IND);
+ setverdict(pass);
+ }
+ [] BSSAP.receive { repeat; }
+ [] MNCC.receive { repeat; }
+ [] GSUP.receive { repeat; }
+ [] MGCP.receive { repeat; }
+ }
+}
+testcase TC_establish_and_nothing() runs on MTC_CT {
+ var BSC_ConnHdlr vc_conn;
+ f_init();
+
+ vc_conn := f_start_handler(refers(f_tc_establish_and_nothing), testcasename(), 25);
+ vc_conn.done;
+}
+
/* TODO:
* continue to send repeated MO signalling messages to keep channel open: does MSC tmeout?
--
To view, visit https://gerrit.osmocom.org/6113
To unsubscribe, visit https://gerrit.osmocom.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ia8782558d8570750fd95c2b41953aaa61839ef8c
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