diff options
author | 2016-08-28 08:54:56 +0300 | |
---|---|---|
committer | 2016-08-28 08:54:56 +0300 | |
commit | ffba4ec1e5ce3a2308ff01733ffb249783176ecd (patch) | |
tree | 3a758384a04d3a3bed1e3041e0b4121bf40f38ae /scripts/automation/regression | |
parent | af419f1d9a0b82c75f18c94c871b6e2fe1c329e7 (diff) |
regression: lower requirement on output packets, at 9k and quick cpu stabilization it can be few
Diffstat (limited to 'scripts/automation/regression')
-rwxr-xr-x | scripts/automation/regression/stateless_tests/stl_benchmark_test.py | 2 |
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']) |