summaryrefslogtreecommitdiff
path: root/smoketest/scripts/cli/test_interfaces_bridge.py
diff options
context:
space:
mode:
authorjack9603301 <jack9603301@163.com>2021-01-17 17:48:40 +0800
committerjack9603301 <jack9603301@163.com>2021-01-17 17:54:35 +0800
commit261f37bd8090c60bb346be664f0bfcc9c04613f9 (patch)
tree69ac279f9ed1d79a2d289139051618b221afe679 /smoketest/scripts/cli/test_interfaces_bridge.py
parent62bd08a5811aeec5670c29af18583f9f3350cb1d (diff)
downloadvyos-1x-261f37bd8090c60bb346be664f0bfcc9c04613f9.tar.gz
vyos-1x-261f37bd8090c60bb346be664f0bfcc9c04613f9.zip
smoketest: bridge: T3226: Remove redundant code
In 558e1ca9, we found that the interface created by a test case was not cleaned up completely, which led to the destruction of smoke test. But in fact, the test case function retained an invalid deletion configuration code. We added a repair patch and forgot to delete the invalid code. Now we delete it
Diffstat (limited to 'smoketest/scripts/cli/test_interfaces_bridge.py')
-rwxr-xr-xsmoketest/scripts/cli/test_interfaces_bridge.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/smoketest/scripts/cli/test_interfaces_bridge.py b/smoketest/scripts/cli/test_interfaces_bridge.py
index a6b96c9bd..8f03290be 100755
--- a/smoketest/scripts/cli/test_interfaces_bridge.py
+++ b/smoketest/scripts/cli/test_interfaces_bridge.py
@@ -198,10 +198,6 @@ class BridgeInterfaceTest(BasicInterfaceTest.BaseTest):
for vif in vifs:
# member interface must be assigned to the bridge
self.assertTrue(os.path.exists(f'/sys/class/net/{interface}/lower_{member}.{vif}'))
-
- # remove VLAN interfaces
- for vif in vifs:
- self.session.delete(['interfaces', 'ethernet', member, 'vif', vif])
# delete all members
for interface in self._interfaces: