diff --git a/tests/fail2ban-jellyfin.nix b/tests/fail2ban-jellyfin.nix index bd7971d..69e06e2 100644 --- a/tests/fail2ban-jellyfin.nix +++ b/tests/fail2ban-jellyfin.nix @@ -107,7 +107,7 @@ pkgs.testers.runNixOSTest { server.wait_for_unit("jellyfin.service") server.wait_for_unit("fail2ban.service") server.wait_for_open_port(8096) - server.wait_until_succeeds("curl -sf http://localhost:8096/health | grep -q Healthy", timeout=60) + server.wait_until_succeeds("curl -sf http://localhost:8096/health | grep -q Healthy", timeout=120) time.sleep(2) # Wait for Jellyfin to create real log files and reload fail2ban diff --git a/tests/jellyfin-test-lib.py b/tests/jellyfin-test-lib.py index 81c164b..30f0717 100644 --- a/tests/jellyfin-test-lib.py +++ b/tests/jellyfin-test-lib.py @@ -18,7 +18,7 @@ def setup_jellyfin(machine, retry, auth_header, auth_payload, empty_payload): machine.wait_for_unit("jellyfin.service") machine.wait_for_open_port(8096) machine.wait_until_succeeds( - "curl -sf http://localhost:8096/health | grep -q Healthy", timeout=60 + "curl -sf http://localhost:8096/health | grep -q Healthy", timeout=120 ) machine.wait_until_succeeds(