|
|
|
@ -1,4 +1,4 @@ |
|
|
|
|
import ./make-test.nix ({ lib, ... }: |
|
|
|
|
import ./make-test-python.nix ({ lib, ... }: |
|
|
|
|
|
|
|
|
|
with lib; |
|
|
|
|
|
|
|
|
@ -11,8 +11,8 @@ with lib; |
|
|
|
|
{ services.sonarr.enable = true; }; |
|
|
|
|
|
|
|
|
|
testScript = '' |
|
|
|
|
$machine->waitForUnit('sonarr.service'); |
|
|
|
|
$machine->waitForOpenPort('8989'); |
|
|
|
|
$machine->succeed("curl --fail http://localhost:8989/"); |
|
|
|
|
machine.wait_for_unit("sonarr.service") |
|
|
|
|
machine.wait_for_open_port("8989") |
|
|
|
|
machine.succeed("curl --fail http://localhost:8989/") |
|
|
|
|
''; |
|
|
|
|
}) |
|
|
|
|