summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYaroslav Brustinov <ybrustin@cisco.com>2016-08-28 08:54:56 +0300
committerYaroslav Brustinov <ybrustin@cisco.com>2016-08-28 08:54:56 +0300
commitffba4ec1e5ce3a2308ff01733ffb249783176ecd (patch)
tree3a758384a04d3a3bed1e3041e0b4121bf40f38ae
parentaf419f1d9a0b82c75f18c94c871b6e2fe1c329e7 (diff)
regression: lower requirement on output packets, at 9k and quick cpu stabilization it can be few
-rwxr-xr-xscripts/automation/regression/stateless_tests/stl_benchmark_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/automation/regression/stateless_tests/stl_benchmark_test.py b/scripts/automation/regression/stateless_tests/stl_benchmark_test.py
index 48d41f6b..bbdf2d30 100755
--- a/scripts/automation/regression/stateless_tests/stl_benchmark_test.py
+++ b/scripts/automation/regression/stateless_tests/stl_benchmark_test.py
@@ -42,7 +42,7 @@ class STLBenchmark_Test(CStlGeneral_Test):
if critical_test and i == timeout and agv_cpu_util > 10:
raise Exception('Timeout on waiting for stabilization, last CPU util values: %s' % list(cpu_utils))
- if stats[0]['opackets'] < 1000 or stats[1]['opackets'] < 1000:
+ if stats[0]['opackets'] < 300 or stats[1]['opackets'] < 300:
raise Exception('Too few opackets, port0: %s, port1: %s' % (stats[0]['opackets'], stats[1]['opackets']))
if stats['global']['queue_full'] > 100000:
raise Exception('Too much queue_full: %s' % stats['global']['queue_full'])