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
This commit is contained in:
Neels Hofmeyr 2019-05-06 23:52:22 +02:00
parent 475a2c1d2c
commit 61ca08d724
1 changed files with 3 additions and 0 deletions

View File

@ -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