fix tests
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user