diff options
author | Vadim Yanitskiy <vyanitskiy@sysmocom.de> | 2021-06-09 00:50:11 +0200 |
---|---|---|
committer | Vadim Yanitskiy <vyanitskiy@sysmocom.de> | 2021-06-09 01:11:28 +0200 |
commit | 2372db6aee08b003824fc61c2358585f25886d53 (patch) | |
tree | a0697d3a4edde434df988b4a67f957cbd26d95a8 | |
parent | 7a62502721f1ff3ad47b86427c4b6061ddb0ee8d (diff) |
BTS: ignore other RSL messages in function f_TC_paging()
Recent changes [1] to osmo-bts make it periodically send the
RF RESource INDication messages for each transceiver over the
A-bis/RSL. These messages block the queue of 'RSL_CCHAN' port
and make the paging related test cases fail. Ignore them.
Change-Id: I18b879235c6eefb2dd89a3f4502b0830efeac6bb
Related: [1] Id80fdbef087de625149755165c025c0a9563dc85
Related: SYS#5313, OS#1569
-rw-r--r-- | bts/BTS_Tests.ttcn | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bts/BTS_Tests.ttcn b/bts/BTS_Tests.ttcn index ee5258c3..547ada2f 100644 --- a/bts/BTS_Tests.ttcn +++ b/bts/BTS_Tests.ttcn @@ -3597,6 +3597,8 @@ private function f_TC_paging(PagingTestCfg cfg) runs on test_CT return PagingTes /* FIXME: analyze/verify interval + contents */ repeat; } + /* ignore other RSL messages like RF RESource INDication */ + [] RSL_CCHAN.receive { repeat; } /* check if paging requests arrive on Um side */ [] as_l1_count_paging(st.num_paging_rcv_msgs, st.num_paging_rcv_ids, cfg); [] L1CTL.receive { repeat; } @@ -3645,6 +3647,8 @@ private function f_TC_paging(PagingTestCfg cfg) runs on test_CT return PagingTes /* 65535 == empty paging queue, we can terminate*/ [] RSL_CCHAN.receive(tr_ASP_RSL_UD(tr_RSL_PAGING_LOAD_IND(65535))) { } [] RSL_CCHAN.receive(tr_ASP_RSL_UD(tr_RSL_PAGING_LOAD_IND)) { repeat; } + /* ignore other RSL messages like RF RESource INDication */ + [] RSL_CCHAN.receive { repeat; } [] T_wait.timeout { Misc_Helpers.f_shutdown(__BFILE__, __LINE__, fail, "Waiting for empty paging queue"); } |