From: Yaroslav Brustinov Date: Wed, 26 Oct 2016 13:45:05 +0000 (+0200) Subject: regression: stateless rx_check allow 0.1% errors X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=572c98db3944a53bbff51d08fd1f9c8e9674b08c;p=trex.git regression: stateless rx_check allow 0.1% errors --- diff --git a/scripts/automation/regression/stateful_tests/trex_rx_test.py b/scripts/automation/regression/stateful_tests/trex_rx_test.py index c08ad1ea..8bcdc83f 100755 --- a/scripts/automation/regression/stateful_tests/trex_rx_test.py +++ b/scripts/automation/regression/stateful_tests/trex_rx_test.py @@ -67,7 +67,7 @@ class CTRexRx_Test(CTRexGeneral_Test): # the check. in loopback expect 0 problems, at others allow errors % 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