diff options
3 files changed, 4 insertions, 3 deletions
diff --git a/scripts/automation/regression/stateless_tests/stl_general_test.py b/scripts/automation/regression/stateless_tests/stl_general_test.py index 9258b124..4ff1eec9 100644 --- a/scripts/automation/regression/stateless_tests/stl_general_test.py +++ b/scripts/automation/regression/stateless_tests/stl_general_test.py @@ -23,6 +23,7 @@ class CStlGeneral_Test(CTRexGeneral_Test): # workaround of http://trex-tgn.cisco.com/youtrack/issue/trex-210 @staticmethod def recover_after_trex_210_issue(): + return for i in range(20): try: stl_map_ports(CTRexScenario.stl_trex) diff --git a/scripts/automation/regression/stateless_tests/stl_rx_test.py b/scripts/automation/regression/stateless_tests/stl_rx_test.py index 8e140271..462072df 100644 --- a/scripts/automation/regression/stateless_tests/stl_rx_test.py +++ b/scripts/automation/regression/stateless_tests/stl_rx_test.py @@ -7,8 +7,8 @@ class STLRX_Test(CStlGeneral_Test): """Tests for RX feature""" def setUp(self): - if CTRexScenario.setup_name in ('trex08', 'trex09'): - self.skip('This test makes trex08 and trex09 sick. Fix those ASAP.') + #if CTRexScenario.setup_name in ('trex08', 'trex09'): + # self.skip('This test makes trex08 and trex09 sick. Fix those ASAP.') if self.is_virt_nics: self.skip('Skip this for virtual NICs for now') per_driver_params = {"rte_vmxnet3_pmd": [1, 50], "rte_ixgbe_pmd": [30, 5000], "rte_i40e_pmd": [80, 5000, 10], diff --git a/scripts/automation/regression/trex_unit_test.py b/scripts/automation/regression/trex_unit_test.py index 320a4346..0762fc95 100755 --- a/scripts/automation/regression/trex_unit_test.py +++ b/scripts/automation/regression/trex_unit_test.py @@ -242,7 +242,7 @@ class CTRexTestConfiguringPlugin(Plugin): CTRexScenario.trex.force_kill(False) if CTRexScenario.stl_trex and CTRexScenario.stl_trex.is_connected(): CTRexScenario.stl_trex.disconnect() - time.sleep(3) + #time.sleep(3) CTRexScenario.stl_trex = None |