From b05e94e4fff8621bf1b02bed7a42ac39d0c182b8 Mon Sep 17 00:00:00 2001 From: Joonas Koivunen Date: Tue, 7 Mar 2023 14:44:04 +0200 Subject: [PATCH] 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. --- test_runner/regress/test_remote_storage.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test_runner/regress/test_remote_storage.py b/test_runner/regress/test_remote_storage.py index 82bf741a8f..90d69c7b0e 100644 --- a/test_runner/regress/test_remote_storage.py +++ b/test_runner/regress/test_remote_storage.py @@ -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()