summaryrefslogtreecommitdiffstats
path: root/scripts/automation/regression/unit_tests
diff options
context:
space:
mode:
authorYaroslav Brustinov <ybrustin@cisco.com>2016-01-08 23:07:08 +0200
committerYaroslav Brustinov <ybrustin@cisco.com>2016-01-08 23:07:08 +0200
commit6e0de1a39a4ff389a5669c91e07bf938b3b99d28 (patch)
treea4aff19dffb055152c2f741f6582140aeeb4e81e /scripts/automation/regression/unit_tests
parent148fd251911869db33df03f7fd3287c1f76f2fa4 (diff)
ws_main.py: don't expect for env. vars if building local package
regression: increase maximal allowed latency to 100ms on VM (50ms is not enough)
Diffstat (limited to 'scripts/automation/regression/unit_tests')
-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)