pespin has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/29657 )
Change subject: mgw: Log osmux stats in f_two_crcx_mdcx_and_rtp_osmux() ......................................................................
mgw: Log osmux stats in f_two_crcx_mdcx_and_rtp_osmux()
Change-Id: I2122e086f828a44ddf1c285e11a1eb79759ae989 --- M mgw/MGCP_Test.ttcn 1 file changed, 3 insertions(+), 0 deletions(-)
Approvals: Jenkins Builder: Verified laforge: Looks good to me, approved fixeria: Looks good to me, but someone else must approve
diff --git a/mgw/MGCP_Test.ttcn b/mgw/MGCP_Test.ttcn index 5665981..859a677 100644 --- a/mgw/MGCP_Test.ttcn +++ b/mgw/MGCP_Test.ttcn @@ -1502,6 +1502,9 @@
temp := stats_osmux.num_pkts_tx - num_pkts_tx[1] - stats_rtp.num_pkts_rx / flow[1].osmux.cfg.batch_size; if (temp > 3 or temp < -3) { + log("stats_rtp: ", stats_rtp); + log("stats_osmux: ", stats_osmux); + log("old_osmux_tx: ", num_pkts_tx[1]); setverdict(fail, "number of packets not within normal parameters (" & int2str(temp) & ")"); mtc.stop; }