3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos/tests/pdns-recursor.nix
2019-12-15 20:08:02 +01:00

13 lines
251 B
Nix

import ./make-test-python.nix ({ pkgs, ... }: {
name = "powerdns";
nodes.server = { ... }: {
services.pdns-recursor.enable = true;
};
testScript = ''
server.wait_for_unit("pdns-recursor")
server.wait_for_open_port("53")
'';
})