summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xscripts/automation/regression/stateful_tests/trex_general_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/automation/regression/stateful_tests/trex_general_test.py b/scripts/automation/regression/stateful_tests/trex_general_test.py
index 31e68aa5..e21e2f31 100755
--- a/scripts/automation/regression/stateful_tests/trex_general_test.py
+++ b/scripts/automation/regression/stateful_tests/trex_general_test.py
@@ -163,7 +163,7 @@ class CTRexGeneral_Test(unittest.TestCase):
calc_error_precent = abs(100.0 * test_norm_cpu / expected_norm_cpu - 100)
print('Err percent: %s' % calc_error_precent)
if calc_error_precent > err:
- self.fail('Excepted bw_per_core ratio: %s, got: %g' % (bw_per_core, round(test_norm_cpu)))
+ self.fail('Excepted bw_per_core ratio: %s, got: %g' % (expected_norm_cpu, round(test_norm_cpu)))
def check_results_gt (self, res, name, val):