regression: lower requirement on output packets, at 9k and quick cpu stabilization...
authorYaroslav Brustinov <[email protected]>
Sun, 28 Aug 2016 05:54:56 +0000 (08:54 +0300)
committerYaroslav Brustinov <[email protected]>
Sun, 28 Aug 2016 05:54:56 +0000 (08:54 +0300)
scripts/automation/regression/stateless_tests/stl_benchmark_test.py

index 48d41f6..bbdf2d3 100755 (executable)
@@ -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'])