Skip to content

Commit

Permalink
Increase timeouts
Browse files Browse the repository at this point in the history
  • Loading branch information
deajan committed Dec 10, 2024
1 parent 2e7ab21 commit 9572149
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion npbackup/__env__.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@

# 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
2 changes: 1 addition & 1 deletion tests/test_restic_metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 9572149

Please sign in to comment.