blob: 57e6b72db3a35dbcf94d8f54ede922de46b217c7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
import ./make-test-python.nix ({ lib, ... }:
{
name = "sonarr";
meta.maintainers = with lib.maintainers; [ etu ];
nodes.machine =
{ pkgs, ... }:
{ services.sonarr.enable = true; };
testScript = ''
machine.wait_for_unit("sonarr.service")
machine.wait_for_open_port(8989)
machine.succeed("curl --fail http://localhost:8989/")
'';
})
|