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

Change-Id: Ie58278edf7050254d7cdced48b4b7870e0e8d577
daniel/sporadic_failures
Daniel Willmann 4 years ago
parent 9abd2221ee
commit 5fdb9bba17
  1. 3
      library/RSL_Emulation.ttcn

@ -318,7 +318,8 @@ private function f_streamId_by_trx(uint8_t trx_nr) return IpaStreamId {
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;
}

Loading…
Cancel
Save