summaryrefslogtreecommitdiff
path: root/smoketest/scripts
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-01-08 16:27:33 +0100
committerChristian Poessinger <christian@poessinger.com>2021-01-08 16:27:33 +0100
commit7d5c1b7572bdc8a4819b04098b1b002cb855a461 (patch)
treeae65929af685206e3a0fb3c1ec5e72fac1b61e18 /smoketest/scripts
parent9571b5e16938b902f0c9a1bac87aec180b220560 (diff)
downloadvyos-1x-7d5c1b7572bdc8a4819b04098b1b002cb855a461.tar.gz
vyos-1x-7d5c1b7572bdc8a4819b04098b1b002cb855a461.zip
smoketest: ethernet: fix link-speed loop test
Diffstat (limited to 'smoketest/scripts')
-rwxr-xr-xsmoketest/scripts/cli/test_interfaces_ethernet.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/smoketest/scripts/cli/test_interfaces_ethernet.py b/smoketest/scripts/cli/test_interfaces_ethernet.py
index 6b21853c3..6a0bdf150 100755
--- a/smoketest/scripts/cli/test_interfaces_ethernet.py
+++ b/smoketest/scripts/cli/test_interfaces_ethernet.py
@@ -144,9 +144,8 @@ class EthernetInterfaceTest(BasicInterfaceTest.BaseTest):
# other one must be manually configured, too
with self.assertRaises(ConfigSessionError):
self.session.commit()
- self.session.set(self._base_path + [interface, 'duplex', 'full'])
-
- self.session.commit()
+ self.session.set(self._base_path + [interface, 'speed', 'auto'])
+ self.session.commit()
def test_eapol_support(self):
for interface in self._interfaces: