From: Yu Watanabe Date: Sat, 1 Jun 2024 01:40:30 +0000 (+0900) Subject: test-network: add missing sleep() X-Git-Tag: v256-rc4~52 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=77356099ced1838574ee3a5677c8b9b92bee1372;p=thirdparty%2Fsystemd.git test-network: add missing sleep() Fixes a bug introduced by 7ef26afca555a5e167ebc59514490906a46db2cb. Fixes #33098. --- diff --git a/test/test-network/systemd-networkd-tests.py b/test/test-network/systemd-networkd-tests.py index 3636baea6ee..000180dd418 100755 --- a/test/test-network/systemd-networkd-tests.py +++ b/test/test-network/systemd-networkd-tests.py @@ -1058,6 +1058,7 @@ class Utilities(): for _ in range(setup_timeout * 2): if not link_exists(link): + time.sleep(0.5) continue output = networkctl_status(link) if re.search(rf'(?m)^\s*State:\s+{operstate}\s+\({setup_state}\)\s*$', output):