[MERGED] osmo-ttcn3-hacks[master]: bts: Sleep for some time after RSL is up before using it

Harald Welte gerrit-no-reply at lists.osmocom.org
Sun Feb 25 12:33:08 UTC 2018


Harald Welte has submitted this change and it was merged.

Change subject: bts: Sleep for some time after RSL is up before using it
......................................................................


bts: Sleep for some time after RSL is up before using it

This is a work-around for an OsmoBSC bug, see OS#3000

Change-Id: I9a552984a895b08d3f517bdc5844b810eb57700f
Related: OS#3000
---
M bts/BTS_Tests.ttcn
1 file changed, 1 insertion(+), 0 deletions(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/bts/BTS_Tests.ttcn b/bts/BTS_Tests.ttcn
index d3bdd62..bf7e839 100644
--- a/bts/BTS_Tests.ttcn
+++ b/bts/BTS_Tests.ttcn
@@ -136,6 +136,7 @@
 function f_init(charstring id := "BTS-Test") runs on test_CT {
 	f_init_rsl(id);
 	RSL_CCHAN.receive(ASP_IPA_Event:{up_down := ASP_IPA_EVENT_UP});
+	f_sleep(0.5);	/* workaround for OS#3000 */
 
 	/* Send SI3 to the BTS, it is needed for various computations */
 	var GsmRrMessage si3 := valueof(ts_SI3_default);

-- 
To view, visit https://gerrit.osmocom.org/6899
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I9a552984a895b08d3f517bdc5844b810eb57700f
Gerrit-PatchSet: 1
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder


More information about the gerrit-log mailing list