test-network: add missing sleep()

Fixes a bug introduced by 7ef26afca5.

Fixes #33098.
This commit is contained in:
Yu Watanabe 2024-06-01 10:40:30 +09:00 committed by Daan De Meyer
parent ecce45cd3f
commit 77356099ce

View file

@ -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):