summaryrefslogtreecommitdiffstats
path: root/scripts/automation
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/automation')
-rwxr-xr-xscripts/automation/regression/unit_tests/trex_general_test.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/automation/regression/unit_tests/trex_general_test.py b/scripts/automation/regression/unit_tests/trex_general_test.py
index fb84a3e1..cc2c4744 100755
--- a/scripts/automation/regression/unit_tests/trex_general_test.py
+++ b/scripts/automation/regression/unit_tests/trex_general_test.py
@@ -238,8 +238,8 @@ class CTRexGeneral_Test(unittest.TestCase):
#trex_exp_gbps = trex_exp_rate/(10**9)
if check_latency:
- # check that max latency does not exceed 1 msec in regular setup or 20ms in VM
- allowed_latency = 50000 if self.is_VM else 1000
+ # check that max latency does not exceed 1 msec in regular setup or 100ms in VM
+ allowed_latency = 100000 if self.is_VM else 1000
if max(trex_res.get_max_latency().values()) > allowed_latency:
self.fail('LatencyError: Maximal latency exceeds %s (usec)' % allowed_latency)