summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorYaroslav Brustinov <ybrustin@cisco.com>2016-04-29 01:21:28 +0300
committerYaroslav Brustinov <ybrustin@cisco.com>2016-04-29 01:21:28 +0300
commitf35edfa45809c82de54d9aca2284ae8d83f10be0 (patch)
tree790ce1336e5b8be633d41bb68554d98ac08638d8 /scripts
parent3e90b0a09dc2abdb123684e3abd4041be41b9288 (diff)
typo
Diffstat (limited to 'scripts')
-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):