diff options
author | 2016-10-26 15:45:05 +0200 | |
---|---|---|
committer | 2016-10-26 15:45:05 +0200 | |
commit | 572c98db3944a53bbff51d08fd1f9c8e9674b08c (patch) | |
tree | dbe34e5691693a2ca0e6da469c124e4e44bcff13 | |
parent | 7d129c00303a5df1d6af331781139dc2d447d0d8 (diff) |
regression: stateless rx_check allow 0.1% errors
-rwxr-xr-x | scripts/automation/regression/stateful_tests/trex_rx_test.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 <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 |