mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-17 02:12:56 +00:00
tests: longer timeout in test_delete_timeline_client_hangup (#9161)
## Problem This test waits for a request to finish, and then expects deletion to complete almost immediately. The request completes, but it's a 202, the timeline is still deleting in the background: we need to be more patient. ## Summary of changes - Adjust iterations from 2 to 10 when waiting for deletion
This commit is contained in:
@@ -638,7 +638,7 @@ def test_delete_timeline_client_hangup(neon_env_builder: NeonEnvBuilder):
|
||||
wait_until(50, 0.1, first_request_finished)
|
||||
|
||||
# check that the timeline is gone
|
||||
wait_timeline_detail_404(ps_http, env.initial_tenant, child_timeline_id, iterations=2)
|
||||
wait_timeline_detail_404(ps_http, env.initial_tenant, child_timeline_id, iterations=10)
|
||||
|
||||
|
||||
def test_timeline_delete_works_for_remote_smoke(
|
||||
|
||||
Reference in New Issue
Block a user