From ce9b5ae7bffc5d4c35f4e79af9c697993f8f0a4c Mon Sep 17 00:00:00 2001 From: Joonas Koivunen Date: Fri, 26 Jul 2024 08:02:08 +0000 Subject: [PATCH] test: allow the 500 error crutch temporarily --- test_runner/regress/test_timeline_detach_ancestor.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test_runner/regress/test_timeline_detach_ancestor.py b/test_runner/regress/test_timeline_detach_ancestor.py index cf3ed47b70..437816775b 100644 --- a/test_runner/regress/test_timeline_detach_ancestor.py +++ b/test_runner/regress/test_timeline_detach_ancestor.py @@ -1262,6 +1262,9 @@ def test_timeline_is_deleted_before_timeline_detach_ancestor_completes( # FIXME: this should be 404 but because there is another Anyhow conversion it is 500 assert exc.value.status_code == 500 + env.pageserver.allowed_errors.append( + ".*Error processing HTTP request: InternalServerError\\(detached timeline was not found after restart" + ) finally: http.configure_failpoints((failpoint, "off"))