diff options
Diffstat (limited to 'smoketest/scripts/cli/base_interfaces_test.py')
-rw-r--r-- | smoketest/scripts/cli/base_interfaces_test.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/smoketest/scripts/cli/base_interfaces_test.py b/smoketest/scripts/cli/base_interfaces_test.py index d08dff82c..f8e9835af 100644 --- a/smoketest/scripts/cli/base_interfaces_test.py +++ b/smoketest/scripts/cli/base_interfaces_test.py @@ -101,15 +101,19 @@ class BasicInterfaceTest: del self.session def test_mirror(self): + # Test is disabled as it contains hardcoded bond interfaces which will + # screw up all kinds of live deployments. + return None if self._test_mirror: - # Create test dependency interface self.session.set(['interfaces','dummy','dum0']) self.session.set(['interfaces','dummy','dum1']) self.session.set(['interfaces','bonding','bond1','member','interface','dum0']) self.session.set(['interfaces','bonding','bond1','member','interface','dum1']) + # ^- WHY? There is self._options for that :( + Success = 0 i = 0 # Check the two-way mirror rules of ingress and egress @@ -127,8 +131,6 @@ class BasicInterfaceTest: i=0 self.session.delete(['interfaces','dummy']) self.session.delete(['interfaces','bonding']) - else: - return None def test_add_description(self): |