diff --git a/npbackup/__env__.py b/npbackup/__env__.py index 61fe6a9..9cf41fe 100644 --- a/npbackup/__env__.py +++ b/npbackup/__env__.py @@ -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 diff --git a/tests/test_restic_metrics.py b/tests/test_restic_metrics.py index 13d82f8..7dd7464 100644 --- a/tests/test_restic_metrics.py +++ b/tests/test_restic_metrics.py @@ -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)