nixos/tests: fix tayga under network-online dep fix
This commit is contained in:
parent
9b29e5eb7e
commit
174ffdcbc4
1 changed files with 2 additions and 0 deletions
|
@ -206,6 +206,7 @@ import ./make-test-python.nix ({ pkgs, lib, ... }:
|
|||
testScript = ''
|
||||
# start client and server
|
||||
for machine in client, server:
|
||||
machine.systemctl("start network-online.target")
|
||||
machine.wait_for_unit("network-online.target")
|
||||
machine.log(machine.execute("ip addr")[1])
|
||||
machine.log(machine.execute("ip route")[1])
|
||||
|
@ -214,6 +215,7 @@ import ./make-test-python.nix ({ pkgs, lib, ... }:
|
|||
# test systemd-networkd and nixos-scripts based router
|
||||
for router in router_systemd, router_nixos:
|
||||
router.start()
|
||||
router.systemctl("start network-online.target")
|
||||
router.wait_for_unit("network-online.target")
|
||||
router.wait_for_unit("tayga.service")
|
||||
router.log(machine.execute("ip addr")[1])
|
||||
|
|
Loading…
Reference in a new issue