mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 04:02:55 +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");
|
|
'';
|
|
})
|