nixpkgs/nixos/tests/navidrome.nix
rnhmjoj 5803706662
nixos/tests: fix type mismatch in wait_for_open_port
Fix some fallout from de3e423 (PR #171280).
2022-06-11 14:22:53 +02:00

13 lines
247 B
Nix

import ./make-test-python.nix ({ pkgs, ... }: {
name = "navidrome";
nodes.machine = { ... }: {
services.navidrome.enable = true;
};
testScript = ''
machine.wait_for_unit("navidrome")
machine.wait_for_open_port(4533)
'';
})