diff options
Diffstat (limited to 'nixos-tests/distributed-test.nix')
-rw-r--r-- | nixos-tests/distributed-test.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nixos-tests/distributed-test.nix b/nixos-tests/distributed-test.nix index ee0755f..f44fe96 100644 --- a/nixos-tests/distributed-test.nix +++ b/nixos-tests/distributed-test.nix @@ -23,6 +23,7 @@ kittybox: systemd.services.kittybox = { bindsTo = [ "srv.mount" ]; after = [ "srv.mount" ]; + wantedBy = lib.mkForce [ "multi-user.target" ]; environment.PGPASSWORD = "swordfish"; serviceConfig = { DynamicUser = lib.mkForce false; @@ -99,7 +100,7 @@ in { start_all() for machine in servants: - machine.wait_for_open_port(8080) + machine.wait_for_unit("kittybox.service") # Onboarding servants[0].copy_from_host("${./onboarding.json}", "/root/onboarding.json") |