diff options
-rwxr-xr-x | linux_dpdk/ws_main.py | 3 | ||||
-rwxr-xr-x | scripts/automation/regression/unit_tests/trex_general_test.py | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/linux_dpdk/ws_main.py b/linux_dpdk/ws_main.py index 19ff9298..e95dd260 100755 --- a/linux_dpdk/ws_main.py +++ b/linux_dpdk/ws_main.py @@ -918,11 +918,12 @@ def pkg(self): def release(bld, custom_dir = None): """ release to local folder """ - exec_p = Env().get_release_path() if custom_dir: exec_p = custom_dir elif not check_release_permission(): return + else + exec_p = Env().get_release_path() print "copy images and libs" os.system(' mkdir -p '+exec_p); 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) |