diff options
author | jack9603301 <jack9603301@163.com> | 2021-01-17 17:48:40 +0800 |
---|---|---|
committer | jack9603301 <jack9603301@163.com> | 2021-01-17 17:54:35 +0800 |
commit | 261f37bd8090c60bb346be664f0bfcc9c04613f9 (patch) | |
tree | 69ac279f9ed1d79a2d289139051618b221afe679 /smoketest/scripts | |
parent | 62bd08a5811aeec5670c29af18583f9f3350cb1d (diff) | |
download | vyos-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')
-rwxr-xr-x | smoketest/scripts/cli/test_interfaces_bridge.py | 4 |
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: |