daniel has submitted this change and it was merged. ( 
https://gerrit.osmocom.org/10120 )

Change subject: Fail if f_streamId_by_trx() can't find a stream id
......................................................................

Fail if f_streamId_by_trx() can't find a stream id

Change-Id: Ie58278edf7050254d7cdced48b4b7870e0e8d577
---
M library/RSL_Emulation.ttcn
1 file changed, 2 insertions(+), 1 deletion(-)

Approvals:
  Pau Espin Pedrol: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/library/RSL_Emulation.ttcn b/library/RSL_Emulation.ttcn
index 3c035e9..c56c278 100644
--- a/library/RSL_Emulation.ttcn
+++ b/library/RSL_Emulation.ttcn
@@ -318,7 +318,8 @@
        case (2) { return IPAC_PROTO_RSL_TRX2; }
        case (3) { return IPAC_PROTO_RSL_TRX3; }
        }
-       self.stop;
+       setverdict(fail, "Unknown stream ID ", trx_nr);
+       mtc.stop;
 }



--
To view, visit https://gerrit.osmocom.org/10120
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Ie58278edf7050254d7cdced48b4b7870e0e8d577
Gerrit-Change-Number: 10120
Gerrit-PatchSet: 2
Gerrit-Owner: daniel <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Neels Hofmeyr <[email protected]>
Gerrit-Reviewer: Pau Espin Pedrol <[email protected]>
Gerrit-Reviewer: daniel <[email protected]>

Reply via email to