From 558c6349dc8b851fdf57411196b20765531005eb Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sun, 26 Jan 2020 20:04:35 +0100 Subject: interface: bridge: delete member interfaces int test_add_remove_member() --- scripts/cli/test_interfaces.py | 3 +++ 1 file changed, 3 insertions(+) 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() -- cgit v1.2.3