summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/cli/test_interfaces.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/cli/test_interfaces.py b/scripts/cli/test_interfaces.py
index 0e7c4dc07..fb5c53adc 100755
--- a/scripts/cli/test_interfaces.py
+++ b/scripts/cli/test_interfaces.py
@@ -104,7 +104,10 @@ class BridgeInterfaceTest(BasicInterfaceTest.BaseTest):
self.session.set(self._base_path + [intf, 'member', 'interface', member, 'priority', str(priority)])
cost += 1
priority += 1
+ self.session.commit()
+ for intf in self._interfaces:
+ self.session.delete(self._base_path + [intf, 'member'])
self.session.commit()