laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/33071 )
Change subject: BTS_Tests: f_TC_speech_rtp(): run TCH and SACCH loops ......................................................................
BTS_Tests: f_TC_speech_rtp(): run TCH and SACCH loops
All testcases based on f_TC_speech_rtp() consist of two parts:
* In the first part we expect to receive a Downlink frame at the MS, and, once received, we echo the received frame back to the BTS. * In the second part we expect to receive an Uplink frame, the one that was echoed back during the first part.
Let's keep echoing Downlink TCH frames while executing the second part in order to reduce possibility of race conditions and keep filling-up the Tx queue in the virtual MS (trxcon). Also keep sending dummy Measurement Reports on SACCH.
Change-Id: Ifb69669b75df5b390d7056cefaf0ef1df69d9bd4 Related: OS#1572, OS#4396 --- M bts/BTS_Tests.ttcn 1 file changed, 25 insertions(+), 0 deletions(-)
Approvals: Jenkins Builder: Verified pespin: Looks good to me, but someone else must approve laforge: Looks good to me, approved
diff --git a/bts/BTS_Tests.ttcn b/bts/BTS_Tests.ttcn index 8dcfb01..e715996 100644 --- a/bts/BTS_Tests.ttcn +++ b/bts/BTS_Tests.ttcn @@ -8270,11 +8270,14 @@ RTPEM_DATA.clear; Tu.start(2.0); alt { + [] as_l1_tch_loop(); + [] as_l1_sacch(); [] RTPEM_DATA.receive(PDU_RTP:?) -> value rtp_pdu { if (rtp_pdu.data != pl) { repeat; } } [] RTPEM_DATA.receive { repeat; } + [] L1CTL.receive { repeat; } [] Tu.timeout { setverdict(fail, "Timeout waiting for Uplink speech frames"); Misc_Helpers.f_shutdown(__BFILE__, __LINE__);