pespin has uploaded this change for review.
bts: Log unexpected RSL message
This is useful when doing first look at failed tests in jenkins.
Change-Id: I6cdc53ff038858211b09c0a8eeec19603107ffe4
---
M bts/BTS_Tests.ttcn
1 file changed, 3 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/82/29582/1
diff --git a/bts/BTS_Tests.ttcn b/bts/BTS_Tests.ttcn
index c6ce115..108041f 100644
--- a/bts/BTS_Tests.ttcn
+++ b/bts/BTS_Tests.ttcn
@@ -779,6 +779,9 @@
[not ignore_other] as_meas_res();
[not ignore_other] as_l1_dcch_loop();
[not ignore_other] as_l1_tch_loop();
+ [not ignore_other] RSL.receive(RSL_Message:?) -> value rx {
+ Misc_Helpers.f_shutdown(__BFILE__, __LINE__, fail, log2str("Unexpected RSL message received: ", rx));
+ }
[not ignore_other] RSL.receive {
Misc_Helpers.f_shutdown(__BFILE__, __LINE__, fail, "Unexpected RSL message received");
}
To view, visit change 29582. To unsubscribe, or for help writing mail filters, visit settings.