mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-08 14:02:55 +00:00
fix: allow ERROR log to appear per allowed failure (#3696)
The test already allows the background thread trying to checkpoint to fail, however the resulting log message is currently not allowed thus causing flakyness.
This commit is contained in:
@@ -618,6 +618,9 @@ def test_timeline_deletion_with_files_stuck_in_upload_queue(
|
||||
# checkpoint operations. Hence, checkpoint is allowed to fail now.
|
||||
log.info("sending delete request")
|
||||
checkpoint_allowed_to_fail.set()
|
||||
env.pageserver.allowed_errors.append(
|
||||
".+ERROR Error processing HTTP request: InternalServerError\\(timeline is Stopping"
|
||||
)
|
||||
client.timeline_delete(tenant_id, timeline_id)
|
||||
|
||||
assert not timeline_path.exists()
|
||||
|
||||
Reference in New Issue
Block a user