mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-22 13:33:56 +03:00
test-network: wait for the interfaces are configured after reloading .network files
This commit is contained in:
parent
1ef2eedce7
commit
932e157b5e
@ -2896,6 +2896,8 @@ class NetworkdNetworkTests(unittest.TestCase, Utilities):
|
||||
self.assertEqual(rc, 0)
|
||||
time.sleep(1)
|
||||
|
||||
self.wait_online(['veth99:routable', 'veth-peer:routable'])
|
||||
|
||||
output = check_output('ip nexthop list dev veth99')
|
||||
print(output)
|
||||
self.assertEqual(output, '')
|
||||
@ -2909,6 +2911,8 @@ class NetworkdNetworkTests(unittest.TestCase, Utilities):
|
||||
self.assertEqual(rc, 0)
|
||||
time.sleep(1)
|
||||
|
||||
self.wait_online(['veth99:routable', 'veth-peer:routable'])
|
||||
|
||||
rc = call('ip link del veth99')
|
||||
self.assertEqual(rc, 0)
|
||||
time.sleep(2)
|
||||
|
Loading…
Reference in New Issue
Block a user