Change in osmo-ttcn3-hacks[master]: bsc: TC_cm_reestablishment(): do second lchan on bts 1

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/.

neels gerrit-no-reply at lists.osmocom.org
Fri Jul 23 02:04:19 UTC 2021


neels has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/25022 )


Change subject: bsc: TC_cm_reestablishment(): do second lchan on bts 1
......................................................................

bsc: TC_cm_reestablishment(): do second lchan on bts 1

So far the test ran both lchans on bts 0, which is not really a
realistic scenario for a CM Re-Establishment Request. Move the second
channel to bts 1, using various RSL port args added recently.

Change-Id: Ia930f7b8986ba27c5f507478dbff0a2942f207d8
---
M bsc/BSC_Tests.ttcn
1 file changed, 9 insertions(+), 5 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/22/25022/1

diff --git a/bsc/BSC_Tests.ttcn b/bsc/BSC_Tests.ttcn
index 8e9707c..64c1131 100644
--- a/bsc/BSC_Tests.ttcn
+++ b/bsc/BSC_Tests.ttcn
@@ -9370,7 +9370,7 @@
 	var octetstring l3_enc := enc_PDU_ML3_MS_NW(l3_info);
 
 	f_create_bssmap_exp(l3_enc);
-	RSL_Emulation.f_chan_est(g_pars.ra, l3_enc, g_pars.link_id, g_pars.fn);
+	RSL_Emulation.f_chan_est(g_pars.ra, l3_enc, g_pars.link_id, g_pars.fn, rsl_pt := RSL1, rsl_proc_pt := RSL1_PROC);
 	BSSAP.receive(tr_BSSMAP_ComplL3(l3_enc));
 
 	/* MSC got the CM Re-Establishment request and first off clears the previous conn. */
@@ -9396,15 +9396,16 @@
 	};
 	f_create_mgcp_expect(mgcpcrit);
 
-	f_rslem_dchan_queue_enable();
+	f_rslem_dchan_queue_enable(RSL1_PROC);
 
 	BSSAP.send(ass_cmd);
 
 	var PDU_BSSAP bssap;
 
 	alt {
-	[] as_assignment(st);
-	[] as_Media();
+	[] as_assignment(st, rsl_pt := RSL1, rsl_proc_pt := RSL1_PROC);
+	[] as_Media_ipacc(RSL1, RSL2);
+	[] as_Media_mgw();
 	[st.assignment_done] BSSAP.receive(exp_compl) {
 			f_logp(BSCVTY, "f_tc_cm_reestablishment_2 got Assignment Complete");
 			break;
@@ -9414,7 +9415,7 @@
 	f_sleep(3.0);
 
 	f_logp(BSCVTY, "f_tc_cm_reestablishment_2 clearing");
-	f_perform_clear();
+	f_perform_clear(RSL1, RSL1_PROC);
 	f_logp(BSCVTY, "f_tc_cm_reestablishment_2 cleared");
 	f_expect_dlcx_conns();
 
@@ -9430,6 +9431,9 @@
 	var MSC_ConnHdlr vc_conn2;
 	pars2.imsi := pars1.imsi;
 	pars2.media_nr := 2;
+	/* f_tc_cm_reestablishment_2 uses 'bts 1'.
+	 * BTS 1 has BSIC 11 (and no explicit timeslot training_sequence_code config), so expecting TSC = (BSIC & 7) = 3 */
+	pars2.expect_tsc := 3;
 
 	f_init(2, true, guard_timeout := 40.0);
 	f_sleep(1.0);

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/25022
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: Ia930f7b8986ba27c5f507478dbff0a2942f207d8
Gerrit-Change-Number: 25022
Gerrit-PatchSet: 1
Gerrit-Owner: neels <nhofmeyr at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210723/e4985da6/attachment.htm>


More information about the gerrit-log mailing list