mirror of
https://github.com/neondatabase/neon.git
synced 2026-05-26 09:30:37 +00:00
increase timeout to pass test with real s3
This commit is contained in:
committed by
Dmitry Rodionov
parent
beaa991f81
commit
7cd68a0c27
@@ -110,7 +110,7 @@ def test_remote_storage_backup_and_restore(
|
||||
client.tenant_attach(UUID(tenant_id))
|
||||
|
||||
log.info("waiting for timeline redownload")
|
||||
wait_until(number_of_iterations=10,
|
||||
wait_until(number_of_iterations=20,
|
||||
interval=1,
|
||||
func=lambda: assert_timeline_local(client, UUID(tenant_id), UUID(timeline_id)))
|
||||
|
||||
|
||||
@@ -350,7 +350,7 @@ def wait_segment_offload(tenant_id, timeline_id, live_sk, seg_end):
|
||||
if lsn_from_hex(tli_status.backup_lsn) >= lsn_from_hex(seg_end):
|
||||
break
|
||||
elapsed = time.time() - started_at
|
||||
if elapsed > 20:
|
||||
if elapsed > 30:
|
||||
raise RuntimeError(
|
||||
f"timed out waiting {elapsed:.0f}s for segment ending at {seg_end} get offloaded")
|
||||
time.sleep(0.5)
|
||||
|
||||
Reference in New Issue
Block a user