aboutsummaryrefslogtreecommitdiffstats
path: root/bsc
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2019-05-06 23:52:22 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2019-05-07 00:14:33 +0200
commit61ca08d724c657c6ae4718901d263abac0ba95f8 (patch)
treee65ef81b23f817332b1f2c3518edf4e047f15a74 /bsc
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
Diffstat (limited to 'bsc')
-rw-r--r--bsc/BSC_Tests.ttcn3
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