diff options
-rw-r--r-- | nixos/tests/dnscrypt-proxy.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/nixos/tests/dnscrypt-proxy.nix b/nixos/tests/dnscrypt-proxy.nix index 20ec3a333e77..b686e9582a7d 100644 --- a/nixos/tests/dnscrypt-proxy.nix +++ b/nixos/tests/dnscrypt-proxy.nix @@ -23,10 +23,11 @@ import ./make-test.nix ({ pkgs, ... }: { testScript = '' $client->start; - $client->waitForUnit("multi-user.target"); + $client->waitForUnit("sockets.target"); + $client->waitForUnit("dnsmasq"); # The daemon is socket activated; sending a single ping should activate it. $client->execute("${pkgs.iputils}/bin/ping -c1 example.com"); - $client->succeed("systemctl is-active dnscrypt-proxy.service"); + $client->succeed("systemctl is-active dnscrypt-proxy"); ''; }) |