Increase timeouts

This commit is contained in:
deajan 2024-12-11 00:45:51 +01:00
parent 2e7ab21b8c
commit 9572149c19
2 changed files with 2 additions and 2 deletions

View file

@ -29,4 +29,4 @@ HEARTBEAT_INTERVAL = 3600
# Arbitrary timeout for init / init checks.
# If init takes more than a minute, we really have a problem in our backend
FAST_COMMANDS_TIMEOUT = 60
FAST_COMMANDS_TIMEOUT = 180

View file

@ -188,7 +188,7 @@ def test_real_restic_output():
)
# Just backend current directory
cmd = f"{restic_binary} backup {api_arg} ."
exit_code, output = command_runner(cmd, timeout=120, live_output=True)
exit_code, output = command_runner(cmd, timeout=600, live_output=True)
assert exit_code == 0, "Failed to run restic"
if not api_arg:
restic_json = restic_str_output_to_json(True, output)