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