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