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:
Janik H. 2024-04-18 00:21:04 +02:00
parent 8b31909a79
commit b1fd84f6ec
No known key found for this signature in database

View file

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