Change in ...osmo-ttcn3-hacks[master]: MGCP_Test: Relax expected number of packets in TC_one_crcx_receive_on...

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

dexter gerrit-no-reply at lists.osmocom.org
Tue Oct 1 12:17:47 UTC 2019


dexter has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/15640


Change subject: MGCP_Test: Relax expected number of packets in TC_one_crcx_receive_only_rtp
......................................................................

MGCP_Test: Relax expected number of packets in TC_one_crcx_receive_only_rtp

The testcase TC_one_crcx_receive_only_rtp performs a short RTP
transmission that lasts about 1 second. Then it conuts out the number of
packets that are transmitted and checks against a fixed value. The
compare values are determined using experimentation and reflect the
number of bytes/packets that one could expect under normal conditions on
an average machine.

However, there may be load sitations on the test host that may cause that
a too little number of packets is transmitted and the test will fail. Lets
reduce the number a bit as the only thing we want to make sure with this
is that there are at least some (more than one or two) packets transmitted

Change-Id: Ie63445d61268d178940ce8d9cfa984519c42041a
---
M mgw/MGCP_Test.ttcn
1 file changed, 2 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/40/15640/1

diff --git a/mgw/MGCP_Test.ttcn b/mgw/MGCP_Test.ttcn
index 41def03..86fc275 100644
--- a/mgw/MGCP_Test.ttcn
+++ b/mgw/MGCP_Test.ttcn
@@ -1601,10 +1601,10 @@
 
 		stats := f_rtpem_stats_get(RTPEM[0]);
 
-		if (stats.num_pkts_tx < 40) {
+		if (stats.num_pkts_tx < 24) {
 			setverdict(fail);
 		}
-		if (stats.bytes_payload_tx < 190) {
+		if (stats.bytes_payload_tx < 96) {
 			setverdict(fail);
 		}
 

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/15640
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: Ie63445d61268d178940ce8d9cfa984519c42041a
Gerrit-Change-Number: 15640
Gerrit-PatchSet: 1
Gerrit-Owner: dexter <pmaier at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20191001/b1db9cde/attachment.htm>


More information about the gerrit-log mailing list