fixeria has submitted this change. (
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/30591
)
Change subject: BSC_Tests: fix a race condition in TC_chan_rel_conn_fail
......................................................................
BSC_Tests: fix a race condition in TC_chan_rel_conn_fail
Change-Id: Ic8ee641c19f47442538eaba2b120736bec793c70
Fixes: OS#5823
---
M bsc/BSC_Tests.ttcn
1 file changed, 4 insertions(+), 0 deletions(-)
Approvals:
dexter: Looks good to me, approved
osmith: Looks good to me, but someone else must approve
Jenkins Builder: Verified
diff --git a/bsc/BSC_Tests.ttcn b/bsc/BSC_Tests.ttcn
index 4753ae9..501b3e9 100644
--- a/bsc/BSC_Tests.ttcn
+++ b/bsc/BSC_Tests.ttcn
@@ -1976,6 +1976,10 @@
dt := f_est_dchan('23'O, 23, '00010203040506'O);
+ /* Sending CONN FAIL IND immediately may trigger a race condition.
+ * Give the BSC some time to process a new SCCP connection (OS#5823). */
+ f_sleep(0.2);
+
/* simulate CONN FAIL IND */
f_ipa_tx(ts_RSL_CONN_FAIL_IND(dt.rsl_chan_nr, RSL_ERR_RADIO_LINK_FAIL));
/* TODO: different cause values? */
--
To view, visit
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/30591
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: Ic8ee641c19f47442538eaba2b120736bec793c70
Gerrit-Change-Number: 30591
Gerrit-PatchSet: 2
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: dexter <pmaier(a)sysmocom.de>
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: merged