Increase the timeout in test.

Downloading all files can take more than 5 seconds, if there are even
small network glitches or similar.
This commit is contained in:
Heikki Linnakangas
2022-11-22 17:22:33 +02:00
parent 58be279be1
commit e6de1b0e8c

View File

@@ -285,7 +285,7 @@ def test_remote_storage_upload_queue_retries(
assert tenant["has_in_progress_downloads"] is False
assert tenant["state"] == {"Active": {"background_jobs_running": True}}
wait_until(5, 1, tenant_active)
wait_until(30, 1, tenant_active)
log.info("restarting postgres to validate")
pg = env.postgres.create_start("main", tenant_id=tenant_id)