mirror of
https://github.com/neondatabase/neon.git
synced 2026-05-25 00:50:36 +00:00
Fix test_timeline_copy flakiness.
fixes https://github.com/neondatabase/neon/issues/8355
This commit is contained in:
committed by
Christian Schwarz
parent
1637a6ee05
commit
537ecf45f8
@@ -2065,6 +2065,11 @@ def test_timeline_copy(neon_env_builder: NeonEnvBuilder, insert_rows: int):
|
||||
log.info(f"Original digest: {orig_digest}")
|
||||
|
||||
for sk in env.safekeepers:
|
||||
wait(
|
||||
partial(is_flush_lsn_caught_up, sk, tenant_id, timeline_id, lsn),
|
||||
f"sk_id={sk.id} to flush {lsn}",
|
||||
)
|
||||
|
||||
sk.http_client().copy_timeline(
|
||||
tenant_id,
|
||||
timeline_id,
|
||||
|
||||
Reference in New Issue
Block a user