mirror of
https://github.com/netinvent/npbackup.git
synced 2025-09-07 21:44:47 +08:00
Increase timeouts
This commit is contained in:
parent
2e7ab21b8c
commit
9572149c19
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue