diff options
author | imarom <imarom@cisco.com> | 2016-04-01 02:32:13 -0400 |
---|---|---|
committer | imarom <imarom@cisco.com> | 2016-04-01 02:32:57 -0400 |
commit | 0afd3bff7e11f879422409fb0a04c260fc4cc0ea (patch) | |
tree | d0e3937a7f8eccb37995a63d2efdf49a616d779b | |
parent | 8be43de7d790e43f608e0b918863da83731e738e (diff) |
disable all tests for virtual or non loopback with stl_client_tests
-rw-r--r-- | scripts/automation/regression/stateless_tests/stl_client_test.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/automation/regression/stateless_tests/stl_client_test.py b/scripts/automation/regression/stateless_tests/stl_client_test.py index 132109c0..e9db2a98 100644 --- a/scripts/automation/regression/stateless_tests/stl_client_test.py +++ b/scripts/automation/regression/stateless_tests/stl_client_test.py @@ -20,7 +20,11 @@ class STLClient_Test(CStlGeneral_Test): def setUp(self): CStlGeneral_Test.setUp(self) - + + if self.is_virt_nics or not self.is_loopback: + self.skip("skipping for non loopback / virtual") + return + assert 'bi' in CTRexScenario.stl_ports_map self.c = CTRexScenario.stl_trex @@ -221,10 +225,6 @@ class STLClient_Test(CStlGeneral_Test): def test_all_profiles (self): - if self.is_virt_nics or not self.is_loopback: - print("skipping for non loopback / virtual") - return - try: self.c.set_port_attr(ports = [self.tx_port, self.rx_port], promiscuous = True) |