pespin submitted this change.

View Change

Approvals: Jenkins Builder: Verified laforge: Looks good to me, approved fixeria: Looks good to me, but someone else must approve
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(-)

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;
}

To view, visit change 29657. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I2122e086f828a44ddf1c285e11a1eb79759ae989
Gerrit-Change-Number: 29657
Gerrit-PatchSet: 2
Gerrit-Owner: pespin <pespin@sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy@sysmocom.de>
Gerrit-Reviewer: laforge <laforge@osmocom.org>
Gerrit-Reviewer: pespin <pespin@sysmocom.de>
Gerrit-MessageType: merged