From: Yu Watanabe Date: Wed, 26 May 2021 12:13:56 +0000 (+0900) Subject: test-network: wait for that the link is in configuring state at the beginning X-Git-Tag: v249-rc1~143^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=618da3e7d51df0c23d786c7b4dcdc41cba025971;p=thirdparty%2Fsystemd.git test-network: wait for that the link is in configuring state at the beginning --- diff --git a/test/test-network/systemd-networkd-tests.py b/test/test-network/systemd-networkd-tests.py index d6b790bc35a..0c5fe461f44 100755 --- a/test/test-network/systemd-networkd-tests.py +++ b/test/test-network/systemd-networkd-tests.py @@ -2785,7 +2785,7 @@ class NetworkdNetworkTests(unittest.TestCase, Utilities): for iteration in range(4): with self.subTest(iteration=iteration, expect_up=expect_up): operstate = 'routable' if expect_up else 'off' - setup_state = 'configured' if expect_up else None + setup_state = 'configured' if expect_up else ('configuring' if iteration == 0 else None) self.wait_operstate('test1', operstate, setup_state=setup_state, setup_timeout=20) if expect_up: