regression: stateless rx_check allow 0.1% errors
authorYaroslav Brustinov <[email protected]>
Wed, 26 Oct 2016 13:45:05 +0000 (15:45 +0200)
committerYaroslav Brustinov <[email protected]>
Wed, 26 Oct 2016 13:45:05 +0000 (15:45 +0200)
scripts/automation/regression/stateful_tests/trex_rx_test.py

index c08ad1e..8bcdc83 100755 (executable)
@@ -67,7 +67,7 @@ class CTRexRx_Test(CTRexGeneral_Test):
             # the check. in loopback expect 0 problems, at others allow errors <error_tolerance>% of total_rx
 
             total_errors = sum(rx_counters.values()) + sum(latency_counters_compare.values())
-            error_tolerance = self.get_benchmark_param('error_tolerance')
+            error_tolerance = self.get_benchmark_param('error_tolerance', 0.1)
             if not error_tolerance or not allow_error_tolerance:
                 error_tolerance = 0
             error_percentage = total_errors * 100.0 / total_rx