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