mirror of
https://github.com/systemd/systemd
synced 2024-10-04 15:21:01 +00:00
test-network: add missing sleep()
Fixes a bug introduced by 7ef26afca5
.
Fixes #33098.
This commit is contained in:
parent
ecce45cd3f
commit
77356099ce
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue