diff options
author | Yaroslav Brustinov <ybrustin@cisco.com> | 2016-02-14 10:58:51 +0200 |
---|---|---|
committer | Yaroslav Brustinov <ybrustin@cisco.com> | 2016-02-14 10:58:51 +0200 |
commit | acc3b1bfbe8f0cc53da9b84dba0bdf423b3221cf (patch) | |
tree | ead56e63fb03c4052977bac1b715ffd5f6a1b14d /scripts/automation/regression | |
parent | d152e9c2c08335cf81d2d2d4eb3faa1959bebad3 (diff) |
regression: disable latency check on NAT
Diffstat (limited to 'scripts/automation/regression')
-rwxr-xr-x | scripts/automation/regression/unit_tests/trex_nat_test.py | 2 | ||||
-rwxr-xr-x | scripts/automation/regression/unit_tests/trex_nbar_test.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/automation/regression/unit_tests/trex_nat_test.py b/scripts/automation/regression/unit_tests/trex_nat_test.py index e50831e4..e7fe5ca5 100755 --- a/scripts/automation/regression/unit_tests/trex_nat_test.py +++ b/scripts/automation/regression/unit_tests/trex_nat_test.py @@ -140,7 +140,7 @@ class CTRexNat_Test(CTRexGeneral_Test):#(unittest.TestCase): self.check_results_gt (trex_nat_stats,'m_total_nat_open', 6000) - self.check_general_scenario_results(trex_res) + self.check_general_scenario_results(trex_res, check_latency = False) # NAT can cause latency ## test_norm_cpu = 2*(trex_res.result['total-tx']/(core*trex_res.result['cpu_utilization'])) # trex_tx_pckt = trex_res.get_last_value("trex-global.data.m_total_tx_bps") # cpu_util = int(trex_res.get_last_value("trex-global.data.m_cpu_util")) diff --git a/scripts/automation/regression/unit_tests/trex_nbar_test.py b/scripts/automation/regression/unit_tests/trex_nbar_test.py index e4f7eb37..74d0227b 100755 --- a/scripts/automation/regression/unit_tests/trex_nbar_test.py +++ b/scripts/automation/regression/unit_tests/trex_nbar_test.py @@ -93,7 +93,7 @@ class CTRexNbar_Test(CTRexGeneral_Test): print trex_res.get_latest_dump() - self.check_general_scenario_results(trex_res, check_latency = False) + self.check_general_scenario_results(trex_res, check_latency = False) # NBAR can cause latency # test_norm_cpu = 2*(trex_res.result['total-tx']/(core*trex_res.result['cpu_utilization'])) trex_tx_pckt = trex_res.get_last_value("trex-global.data.m_total_tx_pkts") cpu_util = trex_res.get_last_value("trex-global.data.m_cpu_util") |