mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 13:10:33 +00:00
4aeafc6b63
This should be safer w.r.t. race conditions.
13 lines
245 B
Nix
13 lines
245 B
Nix
import ./make-test.nix ({ pkgs, ... }: {
|
|
name = "powerdns";
|
|
|
|
nodes.server = { ... }: {
|
|
services.pdns-recursor.enable = true;
|
|
};
|
|
|
|
testScript = ''
|
|
$server->waitForUnit("pdns-recursor");
|
|
$server->waitForOpenPort("53");
|
|
'';
|
|
})
|