at 22.05-pre 373 B view raw
1import ./make-test-python.nix ({ lib, ... }: 2 3with lib; 4 5{ 6 name = "sonarr"; 7 meta.maintainers = with maintainers; [ etu ]; 8 9 nodes.machine = 10 { pkgs, ... }: 11 { services.sonarr.enable = true; }; 12 13 testScript = '' 14 machine.wait_for_unit("sonarr.service") 15 machine.wait_for_open_port("8989") 16 machine.succeed("curl --fail http://localhost:8989/") 17 ''; 18})