mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-13 21:32:23 +03: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");
|
|
'';
|
|
})
|