[MERGED] osmo-ttcn3-hacks[master]: msc: Make TC_lu_clear_request tolerant to double ClearComman...

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.org
Sat Jan 27 18:08:58 UTC 2018


Harald Welte has submitted this change and it was merged.

Change subject: msc: Make TC_lu_clear_request tolerant to double ClearCommand from MSC
......................................................................


msc: Make TC_lu_clear_request tolerant to double ClearCommand from MSC

See https://osmocom.org/issues/2862

Change-Id: Ic266151038dc29220ec62279d16fcd181836bb42
---
M msc_tests/MSC_Tests.ttcn
1 file changed, 5 insertions(+), 1 deletion(-)

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 c8ac429..d0000d8 100644
--- a/msc_tests/MSC_Tests.ttcn
+++ b/msc_tests/MSC_Tests.ttcn
@@ -624,7 +624,11 @@
 	BSSAP.send(ts_BSSMAP_ClearRequest(0));
 	BSSAP.receive(tr_BSSMAP_ClearCommand);
 	BSSAP.send(ts_BSSMAP_ClearComplete);
-	BSSAP.receive(BSSAP_Conn_Prim:MSC_CONN_PRIM_DISC_IND);
+	alt {
+	/* See https://osmocom.org/issues/2862 */
+	[] BSSAP.receive(tr_BSSMAP_ClearCommand) { repeat; }
+	[] BSSAP.receive(BSSAP_Conn_Prim:MSC_CONN_PRIM_DISC_IND) {}
+	}
 	setverdict(pass);
 }
 testcase TC_lu_clear_request() runs on MTC_CT {

-- 
To view, visit https://gerrit.osmocom.org/6139
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ic266151038dc29220ec62279d16fcd181836bb42
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



More information about the gerrit-log mailing list