diff options
-rwxr-xr-x | scripts/automation/regression/stateful_tests/trex_general_test.py | 2 |
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 |