laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/42196?usp=email )
Change subject: mgw: Fix sporadic failure in TC_one_crcx_loopback_rtp ......................................................................
mgw: Fix sporadic failure in TC_one_crcx_loopback_rtp
Change-Id: I29d8d376e343975e3dfeb018bdfda8350bdfc58a --- M mgw/MGCP_Test.ttcn 1 file changed, 3 insertions(+), 0 deletions(-)
Approvals: Jenkins Builder: Verified laforge: Looks good to me, approved osmith: Looks good to me, but someone else must approve
diff --git a/mgw/MGCP_Test.ttcn b/mgw/MGCP_Test.ttcn index 36cd94c..98d63d3 100644 --- a/mgw/MGCP_Test.ttcn +++ b/mgw/MGCP_Test.ttcn @@ -1928,6 +1928,9 @@
f_rtpem_mode(RTPEM[0], RTPEM_MODE_BIDIR); f_sleep(1.0); + /* Now move to RXONLY for a while to wait for in-flight packets to reach back to us: */ + f_rtpem_mode(RTPEM[0], RTPEM_MODE_RXONLY); + f_sleep(1.0); f_flow_delete(RTPEM[0], ep, call_id);
stats := f_rtpem_stats_get(RTPEM[0]);