nixosTests.networking: start network-online.target manually
this is done to avoid future problems for when `network-online.target` doesn't depend on `multi-user.target`
This commit is contained in:
parent
8b31909a79
commit
b1fd84f6ec
1 changed files with 3 additions and 0 deletions
|
@ -50,6 +50,7 @@ let
|
|||
};
|
||||
testScript = ''
|
||||
start_all()
|
||||
router.systemctl("start network-online.target")
|
||||
router.wait_for_unit("network-online.target")
|
||||
client.wait_for_unit("NetworkManager.service")
|
||||
|
||||
|
@ -77,6 +78,7 @@ let
|
|||
};
|
||||
testScript = ''
|
||||
start_all()
|
||||
router.systemctl("start network-online.target")
|
||||
router.wait_for_unit("network-online.target")
|
||||
client.wait_for_unit("NetworkManager.service")
|
||||
|
||||
|
@ -113,6 +115,7 @@ let
|
|||
};
|
||||
testScript = ''
|
||||
start_all()
|
||||
router.systemctl("start network-online.target")
|
||||
router.wait_for_unit("network-online.target")
|
||||
dynamic.wait_for_unit("NetworkManager.service")
|
||||
static.wait_for_unit("NetworkManager.service")
|
||||
|
|
Loading…
Reference in a new issue