mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-03-08 20:58:20 +03:00
test-network: use wait_operstate() at one more place
This commit is contained in:
parent
894ff7d1ab
commit
37611ccb19
@ -2358,8 +2358,7 @@ class NetworkdNetworkTests(unittest.TestCase, Utilities):
|
||||
copy_unit_to_networkd_unit_path('25-address-ipv4acd-veth99.network.d/conflict-address.conf')
|
||||
run(*networkctl_cmd, 'reload', env=env)
|
||||
time.sleep(1)
|
||||
rc = call(*wait_online_cmd, '--timeout=10s', '--interface=veth99:routable', env=env)
|
||||
self.assertTrue(rc == 1)
|
||||
self.wait_operstate('veth99', operstate='routable', setup_state='configuring', setup_timeout=10)
|
||||
|
||||
output = check_output('ip -4 address show dev veth99')
|
||||
print(output)
|
||||
|
Loading…
x
Reference in New Issue
Block a user