git.iko.soy/typeable/nixpkgs
on master help sign in
nixosTests.pdns-recursor: Port tests not python
commitd76ab647e67a39d9caa681b1724ea4d6318082cd authorChristian Kampka <christian@kampka.net> dateSun 15 Dec 2019, 18:53 (7 years ago) parentd58814a
1 file changed+3−3
nixos/tests/pdns-recursor.nix+3−3
nixos/tests/pdns-recursor.nix+3−3
@@ -1,4 +1,4 @@
1−import ./make-test.nix ({ pkgs, ... }: {
1+import ./make-test-python.nix ({ pkgs, ... }: {
22 name = "powerdns";
33
44 nodes.server = { ... }: {
@@ -6,7 +6,7 @@ import ./make-test.nix ({ pkgs, ... }: {
66 };
77
88 testScript = ''
9− $server->waitForUnit("pdns-recursor");
10− $server->waitForOpenPort("53");
9+ server.wait_for_unit("pdns-recursor")
10+ server.wait_for_open_port("53")
1111 '';
1212})