summaryrefslogtreecommitdiff
path: root/smoketest/scripts/cli/test_interfaces_tunnel.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-01-05 17:01:20 +0100
committerChristian Poessinger <christian@poessinger.com>2021-01-05 17:01:20 +0100
commitce809eee91aa2b7f2980dbfd191cdb9ad2947674 (patch)
tree50848321ebe3e86505b2ae9767a18c0a3ecd7039 /smoketest/scripts/cli/test_interfaces_tunnel.py
parentc4c6fcb45e67685da2f1db273bf590c8fb147cb3 (diff)
downloadvyos-1x-ce809eee91aa2b7f2980dbfd191cdb9ad2947674.tar.gz
vyos-1x-ce809eee91aa2b7f2980dbfd191cdb9ad2947674.zip
smoketest: mirror: T3169: re-add mirror / SPAN test case
Commit ef629504d4 ("smoketest: mirror: drop testcase") dropped the smoketests entirely as they have been programmed in a wrong way leading to outages on live development systems which used dummy interfaces for management traffic.
Diffstat (limited to 'smoketest/scripts/cli/test_interfaces_tunnel.py')
-rwxr-xr-xsmoketest/scripts/cli/test_interfaces_tunnel.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/smoketest/scripts/cli/test_interfaces_tunnel.py b/smoketest/scripts/cli/test_interfaces_tunnel.py
index 45679e280..f7b7f99ca 100755
--- a/smoketest/scripts/cli/test_interfaces_tunnel.py
+++ b/smoketest/scripts/cli/test_interfaces_tunnel.py
@@ -62,11 +62,8 @@ def tunnel_conf(interface):
class TunnelInterfaceTest(BasicInterfaceTest.BaseTest):
def setUp(self):
- super().setUp()
-
- self._base_path = ['interfaces', 'tunnel']
self._test_mtu = True
-
+ self._base_path = ['interfaces', 'tunnel']
self.local_v4 = '192.0.2.1'
self.local_v6 = '2001:db8::1'
@@ -79,6 +76,7 @@ class TunnelInterfaceTest(BasicInterfaceTest.BaseTest):
}
self._interfaces = list(self._options)
+ super().setUp()
def tearDown(self):
self.session.delete(['interfaces', 'dummy', source_if])