summaryrefslogtreecommitdiffstats
path: root/scripts/automation/regression
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/automation/regression')
-rwxr-xr-xscripts/automation/regression/stateful_tests/trex_imix_test.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/automation/regression/stateful_tests/trex_imix_test.py b/scripts/automation/regression/stateful_tests/trex_imix_test.py
index 5f52fab7..dc7eea0b 100755
--- a/scripts/automation/regression/stateful_tests/trex_imix_test.py
+++ b/scripts/automation/regression/stateful_tests/trex_imix_test.py
@@ -121,6 +121,11 @@ class CTRexIMIX_Test(CTRexGeneral_Test):
mult = self.get_benchmark_param('multiplier')
core = self.get_benchmark_param('cores')
+
+ # in case of VMXNET3 the number of bytes reported is 60 bytes for 64B
+ if self.is_VM:
+ self.trex.result_obj.set_warmup (0.89)
+
# trex_res = self.trex.run(multiplier = mult, cores = core, duration = 30, l = 1000, p = True)
ret = self.trex.start_trex(
c = core,
@@ -141,6 +146,10 @@ class CTRexIMIX_Test(CTRexGeneral_Test):
self.check_general_scenario_results(trex_res)
self.check_CPU_benchmark(trex_res)
+ if self.is_VM:
+ self.trex.result_obj.set_warmup_default()
+
+
# the name intentionally not matches nose default pattern, including the test should be specified explicitly
def dummy(self):
ret = self.trex.start_trex(