diff options
author | Christian Kampka <christian@kampka.net> | 2019-12-15 18:53:26 +0100 |
---|---|---|
committer | Christian Kampka <christian@kampka.net> | 2019-12-15 20:08:02 +0100 |
commit | d76ab647e67a39d9caa681b1724ea4d6318082cd (patch) | |
tree | 48b6c0a79f2b99895d78e2b544b5170df7f18560 /nixos/tests/pdns-recursor.nix | |
parent | d58814ac5a3e49ae4dd5182d9ae73bbe5e607c1e (diff) |
nixosTests.pdns-recursor: Port tests not python
Diffstat (limited to 'nixos/tests/pdns-recursor.nix')
-rw-r--r-- | nixos/tests/pdns-recursor.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nixos/tests/pdns-recursor.nix b/nixos/tests/pdns-recursor.nix index bf6e6093d69c5..de1b60e0b1c78 100644 --- a/nixos/tests/pdns-recursor.nix +++ b/nixos/tests/pdns-recursor.nix @@ -1,4 +1,4 @@ -import ./make-test.nix ({ pkgs, ... }: { +import ./make-test-python.nix ({ pkgs, ... }: { name = "powerdns"; nodes.server = { ... }: { @@ -6,7 +6,7 @@ import ./make-test.nix ({ pkgs, ... }: { }; testScript = '' - $server->waitForUnit("pdns-recursor"); - $server->waitForOpenPort("53"); + server.wait_for_unit("pdns-recursor") + server.wait_for_open_port("53") ''; }) |