diff options
author | Oliver Smith <osmith@sysmocom.de> | 2019-08-29 14:25:11 +0200 |
---|---|---|
committer | laforge <laforge@gnumonks.org> | 2019-08-29 19:46:49 +0000 |
commit | c089b415f5e3bbf5eb2de435b925581ca42d8872 (patch) | |
tree | e69a4fbf5888feaad90f6d8df0534bf90c8397ac /bts/BTS_Tests.ttcn | |
parent | fcec914a8e9acee1482ea9b303f0920093122642 (diff) |
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
Diffstat (limited to 'bts/BTS_Tests.ttcn')
-rw-r--r-- | bts/BTS_Tests.ttcn | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bts/BTS_Tests.ttcn b/bts/BTS_Tests.ttcn index d3fb9589..7f0b205e 100644 --- a/bts/BTS_Tests.ttcn +++ b/bts/BTS_Tests.ttcn @@ -324,6 +324,9 @@ private function f_init_pcu(PCUIF_CODEC_PT pt, charstring id, 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; |