From 61ca08d724c657c6ae4718901d263abac0ba95f8 Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Mon, 6 May 2019 23:52:22 +0200 Subject: 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 --- bsc/BSC_Tests.ttcn | 3 +++ 1 file changed, 3 insertions(+) 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 -- cgit v1.2.3