diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-01-08 16:27:33 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-01-08 16:27:33 +0100 |
commit | 7d5c1b7572bdc8a4819b04098b1b002cb855a461 (patch) | |
tree | ae65929af685206e3a0fb3c1ec5e72fac1b61e18 | |
parent | 9571b5e16938b902f0c9a1bac87aec180b220560 (diff) | |
download | vyos-1x-7d5c1b7572bdc8a4819b04098b1b002cb855a461.tar.gz vyos-1x-7d5c1b7572bdc8a4819b04098b1b002cb855a461.zip |
smoketest: ethernet: fix link-speed loop test
-rwxr-xr-x | smoketest/scripts/cli/test_interfaces_ethernet.py | 5 |
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: |