summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorYaroslav Brustinov <ybrustin@cisco.com>2016-04-24 02:27:09 +0300
committerYaroslav Brustinov <ybrustin@cisco.com>2016-04-24 02:27:09 +0300
commit9b05a9d60b4cc819f3d190c4ad33a811866d4795 (patch)
treee173af356c39ccdd81f63b71a98943064630b290 /scripts
parent22a3fc2b94f878000b9d38cd38dabca05440e7d1 (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 827df686..12c822f2 100755
--- a/scripts/automation/regression/stateful_tests/trex_general_test.py
+++ b/scripts/automation/regression/stateful_tests/trex_general_test.py
@@ -156,7 +156,7 @@ class CTRexGeneral_Test(unittest.TestCase):
expected_norm_cpu = self.get_benchmark_param('bw_per_core')
if not expected_norm_cpu:
- expected_norm_cpu = '1'
+ expected_norm_cpu = 1
calc_error_precent = abs(100.0 * test_norm_cpu / expected_norm_cpu - 100)
print('Err percent: %s' % calc_error_precent)
# TODO: gather statistics from regression, uncomment ASAP