diff options
author | jack9603301 <jack9603301@163.com> | 2020-12-11 23:32:38 +0800 |
---|---|---|
committer | jack9603301 <jack9603301@163.com> | 2020-12-13 02:12:45 +0800 |
commit | 780573690fad3f5ff8e40e33ecf47f1264d9eb9d (patch) | |
tree | d0661da0034a68fe58e36fcc1462e055ff5ed967 /smoketest | |
parent | 934392a7f30b6a043a3de54c882453ddbea117ae (diff) | |
download | vyos-1x-780573690fad3f5ff8e40e33ecf47f1264d9eb9d.tar.gz vyos-1x-780573690fad3f5ff8e40e33ecf47f1264d9eb9d.zip |
smoketest: T3114: Completely remove `commit` in `setUp`
Diffstat (limited to 'smoketest')
-rwxr-xr-x | smoketest/scripts/cli/test_interfaces_bridge.py | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/smoketest/scripts/cli/test_interfaces_bridge.py b/smoketest/scripts/cli/test_interfaces_bridge.py index 0072a4d3b..6c1efaf75 100755 --- a/smoketest/scripts/cli/test_interfaces_bridge.py +++ b/smoketest/scripts/cli/test_interfaces_bridge.py @@ -48,13 +48,9 @@ class BridgeInterfaceTest(BasicInterfaceTest.BaseTest): self.session.set(['interfaces','dummy','dum0']) self.session.set(['interfaces','dummy','dum1']) - self.session.commit() self.session.set(['interfaces','bonding','bond1','member','interface','dum0']) self.session.set(['interfaces','bonding','bond1','member','interface','dum1']) - self.session.commit() - for tmp in Section.interfaces("bonding"): - if not '.' in tmp: - self._members.append(tmp) + self._members.append('bond1') self._options['br0'] = [] for member in self._members: @@ -71,7 +67,6 @@ class BridgeInterfaceTest(BasicInterfaceTest.BaseTest): base = self._base_path + [interface] self.session.set(base + ['stp']) self.session.set(base + ['address', '192.0.2.1/24']) - self.session.commit() cost = 1000 priority = 10 |