From 174ffdcbc4f0512b26053ed18b53af1661d9cf27 Mon Sep 17 00:00:00 2001 From: Jade Lovelace Date: Tue, 3 Oct 2023 01:04:57 -0700 Subject: nixos/tests: fix tayga under network-online dep fix --- nixos/tests/tayga.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nixos/tests/tayga.nix b/nixos/tests/tayga.nix index 44974f6efea8..4aade67d74d0 100644 --- a/nixos/tests/tayga.nix +++ b/nixos/tests/tayga.nix @@ -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]) -- cgit 1.4.1