mirror of
https://github.com/systemd/systemd.git
synced 2025-01-10 05:18:17 +03:00
test-network: use wait_online() in test_sysctl()
This also disables IPv6AcceptRA= to speed up the test.
This commit is contained in:
parent
2dcfcc08d9
commit
ba1e0d0612
@ -8,3 +8,4 @@ IPv6DuplicateAddressDetection=3
|
||||
IPv6HopLimit=5
|
||||
IPv4ProxyARP=true
|
||||
IPv6ProxyNDP=true
|
||||
IPv6AcceptRA=no
|
||||
|
@ -1262,7 +1262,8 @@ class NetworkdNetWorkTests(unittest.TestCase, Utilities):
|
||||
|
||||
def test_sysctl(self):
|
||||
self.copy_unit_to_networkd_unit_path('25-sysctl.network', '12-dummy.netdev')
|
||||
self.start_networkd()
|
||||
self.start_networkd(0)
|
||||
self.wait_online(['dummy98:degraded'])
|
||||
|
||||
self.assertTrue(self.link_exits('dummy98'))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user