BSC_Tests: fix f_recv_next_si1(): skip unmatched RSL messages

Since Idb453fc894584ccf4f5f8b45a24421db958e9478, osmo-bsc does send
ip.access specific Measurement Pre-Processing Defaults.  This message
currently blocks the 'alt' statement in f_recv_next_si1(), so all
test cases calling it fail due to the guard timeout.

What's even worse, both TC_si_acc_rotate() and TC_si_acc_ramp_rotate()
dynamically configure the IUT in order to re-generate and send System
Information messages periodically.  If any of them fails prematurely,
the related configuration parameters would remain active, so the IUT
would continue sending System Information messages, causing failures
in subsequent test cases.

Let's simply ignore all unmatched messages in the 'alt' statement.

Change-Id: I1a85a046e1a8ebcd494354dddcbcc9707fdf5ee9
This commit is contained in:
Vadim Yanitskiy 2021-01-04 00:12:55 +01:00
parent 7815f480dc
commit 79ebd5e4d3
1 changed files with 1 additions and 0 deletions

View File

@ -2458,6 +2458,7 @@ private function f_recv_next_si1(integer rsl_idx := 0) runs on test_CT return Sy
g_system_information[rsl_idx].si1 := omit;
T.stop;
}
[] IPA_RSL[rsl_idx].receive { repeat; }
[] T.timeout { setverdict(fail, "Timeout receiving next SI1"); }
}
return last_si1;