Change in ...osmo-ttcn3-hacks[master]: bts: f_init_pcu: sleep before connect

osmith gerrit-no-reply at lists.osmocom.org
Thu Aug 29 12:36:41 UTC 2019


osmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/15327


Change subject: bts: f_init_pcu: sleep before connect
......................................................................

bts: f_init_pcu: sleep before connect

Give the emulated BSC side some time to send the various SI via RSL.
This workaround makes OsmoBTS send the correct CellID and other
information instead of empty values to the PCU socket. The next commit
tests these values.

Related: OS#4179
Change-Id: I547f2b8e0796b6976506c28b1b493b1f5bce28f8
---
M bts/BTS_Tests.ttcn
1 file changed, 3 insertions(+), 0 deletions(-)



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

diff --git a/bts/BTS_Tests.ttcn b/bts/BTS_Tests.ttcn
index d3fb958..7f0b205 100644
--- a/bts/BTS_Tests.ttcn
+++ b/bts/BTS_Tests.ttcn
@@ -324,6 +324,9 @@
 		pcu_conn_id := -1;
 		return;
 	}
+
+	f_sleep(0.5); /* workaround for OS#4179 */
+
 	pcu_conn_id := f_pcuif_connect(pt, mp_pcu_socket);
 
 	T.start;

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/15327
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I547f2b8e0796b6976506c28b1b493b1f5bce28f8
Gerrit-Change-Number: 15327
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190829/9364a0f1/attachment.html>


More information about the gerrit-log mailing list