diff options
authorNeels Hofmeyr <>2019-05-06 23:52:22 +0200
committerNeels Hofmeyr <>2019-05-07 00:14:33 +0200
commit61ca08d724c657c6ae4718901d263abac0ba95f8 (patch)
parent475a2c1d2c6392063b667c00bb461391803f8d3c (diff)
bsc: deterministic TC_ho_in_fail_msc_clears: wait for MGW setup
Randomly, this test issues the Clear Command so fast that the MGW has not yet been set up, and hence the test cannot possibly see DLCX for endpoint conns that haven't been set up at all. So, simply wait a bit before clearing. Change-Id: Idd0b3810916efd02a499e0ac060a6a275265b8c3
1 files changed, 3 insertions, 0 deletions
diff --git a/bsc/BSC_Tests.ttcn b/bsc/BSC_Tests.ttcn
index fb43d5e8..0583b304 100644
--- a/bsc/BSC_Tests.ttcn
+++ b/bsc/BSC_Tests.ttcn
@@ -3195,6 +3195,9 @@ private function f_tc_ho_in_fail_msc_clears(charstring id) runs on MSC_ConnHdlr
log("Handover Command chan_nr is", actual_new_chan_nr);
+ /* For deterministic test results, give some time for the MGW endpoint to be configured */
+ f_sleep(1.0);
/* Now the MSC forwards the RR Handover Command to the other BSC, which
* tells the MS to handover to the new lchan. In this case, the MS
* reports a Handover Failure to the old BSS, which forwards a BSSMAP