pespin has submitted this change. (
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/29582
)
Change subject: bts: Log unexpected RSL message
......................................................................
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, 4 insertions(+), 1 deletion(-)
Approvals:
laforge: Looks good to me, but someone else must approve
fixeria: Looks good to me, but someone else must approve
pespin: Looks good to me, approved
Jenkins Builder: Verified
diff --git a/bts/BTS_Tests.ttcn b/bts/BTS_Tests.ttcn
index c6ce115..cecdda1 100644
--- a/bts/BTS_Tests.ttcn
+++ b/bts/BTS_Tests.ttcn
@@ -779,8 +779,11 @@
[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("Rx unexpected RSL port
message: ", rx));
+ }
[not ignore_other] RSL.receive {
- Misc_Helpers.f_shutdown(__BFILE__, __LINE__, fail, "Unexpected RSL message
received");
+ Misc_Helpers.f_shutdown(__BFILE__, __LINE__, fail, "Rx unexpected RSL port
message");
}
[ignore_other] RSL.receive { repeat; }
}
--
To view, visit
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/29582
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I6cdc53ff038858211b09c0a8eeec19603107ffe4
Gerrit-Change-Number: 29582
Gerrit-PatchSet: 4
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: merged