Change in osmo-ttcn3-hacks[master]: bsc: Fix race condition exiting f_ho_out_of_this_bsc

laforge gerrit-no-reply at
Tue Jun 15 16:43:04 UTC 2021

laforge has submitted this change. ( )

Change subject: bsc: Fix race condition exiting f_ho_out_of_this_bsc

bsc: Fix race condition exiting f_ho_out_of_this_bsc

The function didn't wait to receive the 2 messages from the BSC. As a
result, they may have arrived while tearing down the test components
shortly after exiting the function and provoke a Dynamic Test Error
while pushing the messages up the stack since some of the stack layers
may already be unavailable.

Test TC_ho_out_of_this_bsc() workarounded this by using a f_sleep(1),
but TC_srvcc_eutran_to_geran_ho_out() didn't, making it fail sometimes.

Change-Id: I590b09353900dfe6c4f648812ab675fed1908589
M bsc/BSC_Tests.ttcn
1 file changed, 6 insertions(+), 1 deletion(-)

  laforge: Looks good to me, approved
  Jenkins Builder: Verified

diff --git a/bsc/BSC_Tests.ttcn b/bsc/BSC_Tests.ttcn
index 41deea1..074fa60 100644
--- a/bsc/BSC_Tests.ttcn
+++ b/bsc/BSC_Tests.ttcn
@@ -4858,6 +4858,12 @@
+	interleave {
+	[] RSL.receive(tr_RSL_DATA_REQ(g_chan_nr, ?, decmatch tr_RRM_RR_RELEASE));
+	[] RSL.receive(tr_RSL_DEACT_SACCH(g_chan_nr));
+	[] RSL.receive(tr_RSL_RF_CHAN_REL(g_chan_nr));
+	}
@@ -4870,7 +4876,6 @@
 	f_establish_fully(ass_req, exp_compl);
-	f_sleep(1.0);
 testcase TC_ho_out_of_this_bsc() runs on test_CT {
 	var MSC_ConnHdlr vc_conn;

To view, visit
To unsubscribe, or for help writing mail filters, visit

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I590b09353900dfe6c4f648812ab675fed1908589
Gerrit-Change-Number: 24665
Gerrit-PatchSet: 2
Gerrit-Owner: pespin <pespin at>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at>
Gerrit-Reviewer: neels <nhofmeyr at>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the gerrit-log mailing list