diff options
author | Ido Barnea <ibarnea@cisco.com> | 2017-01-25 18:23:20 +0200 |
---|---|---|
committer | Ido Barnea <ibarnea@cisco.com> | 2017-01-25 18:23:20 +0200 |
commit | b901fb41c9084f11b4e69b1ef4e6c009a4424e57 (patch) | |
tree | 88f607925385fad4e78ccdf58dc8a9f6e68148ce /scripts | |
parent | 4e7c35a6e0111118ae8a8dce69d295dbbd9be58d (diff) |
Do not check latency on stateful regression for virt NICs
Signed-off-by: Ido Barnea <ibarnea@cisco.com>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/automation/regression/stateful_tests/trex_general_test.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/automation/regression/stateful_tests/trex_general_test.py b/scripts/automation/regression/stateful_tests/trex_general_test.py index 4453fd94..dc3f9943 100755 --- a/scripts/automation/regression/stateful_tests/trex_general_test.py +++ b/scripts/automation/regression/stateful_tests/trex_general_test.py @@ -313,7 +313,7 @@ class CTRexGeneral_Test(unittest.TestCase): # check that max latency does not exceed 1 msec if self.configuration.trex['trex_name'] == '10.56.217.210': # temporary workaround for latency issue in kiwi02, remove it ASAP. http://trex-tgn.cisco.com/youtrack/issue/trex-194 allowed_latency = 8000 - elif self.is_VM: + elif self.is_VM or self.is_virt_nics: allowed_latency = 9999999 else: # no excuses, check 1ms allowed_latency = 1000 @@ -321,7 +321,7 @@ class CTRexGeneral_Test(unittest.TestCase): self.fail('LatencyError: Maximal latency exceeds %s (usec)' % allowed_latency) # check that avg latency does not exceed 1 msec - if self.is_VM: + if self.is_VM or self.is_virt_nics: allowed_latency = 9999999 else: # no excuses, check 1ms allowed_latency = 1000 |