2
0
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-18 11:44:07 +00:00
nixpkgs/nixos/tests/pdns-recursor.nix

13 lines
251 B
Nix
Raw Normal View History

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