From 96e8c80b4850c41b870d96e5dddb4b8cd6c9fd78 Mon Sep 17 00:00:00 2001 From: Vadim Yanitskiy Date: Wed, 10 Jun 2020 14:14:12 +0700 Subject: BTS: fix latest: ignore mismatching messages in as_rsl_init_guard() Another surprise from the latest osmo-bts release: it may send us CCCH LOAD INDication message during the RSL bring up. Ignore it. Change-Id: Iab22b620a5f7b07fe03c1b13bebef2931d14879d --- bts/BTS_Tests.ttcn | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bts/BTS_Tests.ttcn b/bts/BTS_Tests.ttcn index 012327e8..b098fc61 100644 --- a/bts/BTS_Tests.ttcn +++ b/bts/BTS_Tests.ttcn @@ -188,6 +188,8 @@ private altstep as_rsl_init_guard() runs on test_CT { Misc_Helpers.f_shutdown(__BFILE__, __LINE__, fail, "Timeout waiting for RSL bring up"); } + /* osmo-bts may send us CCCH LOAD INDication or whatever else */ + [] RSL_CCHAN.receive(ASP_RSL_Unitdata:?) { repeat; } } function f_init_rsl(charstring id) runs on test_CT { -- cgit v1.2.3