Change in osmo-ttcn3-hacks[master]: bsc: deterministic TC_ho_in_fail_msc_clears: wait for MGW setup

Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Mon May 6 22:15:11 UTC 2019


Neels Hofmeyr has uploaded this change for review. ( https://gerrit.osmocom.org/13891


Change subject: bsc: deterministic TC_ho_in_fail_msc_clears: wait for MGW setup
......................................................................

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
---
M bsc/BSC_Tests.ttcn
1 file changed, 3 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/91/13891/1

diff --git a/bsc/BSC_Tests.ttcn b/bsc/BSC_Tests.ttcn
index fb43d5e..0583b30 100644
--- a/bsc/BSC_Tests.ttcn
+++ b/bsc/BSC_Tests.ttcn
@@ -3195,6 +3195,9 @@
 	}
 	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

-- 
To view, visit https://gerrit.osmocom.org/13891
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Idd0b3810916efd02a499e0ac060a6a275265b8c3
Gerrit-Change-Number: 13891
Gerrit-PatchSet: 1
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190506/ba573a65/attachment.html>


More information about the gerrit-log mailing list