summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/automation/regression/stateful_tests/trex_rx_test.py2
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