From 67258af8a2479f0f843c517c0de8fdbea01bf98b Mon Sep 17 00:00:00 2001 From: Christian Schwarz Date: Fri, 26 May 2023 17:40:37 +0200 Subject: [PATCH] Revert "test_broken_timelines: regex needs changing due to changes in this PR" This reverts commit 17ba30700426ffe15cb2a7955dd22f5be0aaadf3. --- test_runner/regress/test_broken_timeline.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test_runner/regress/test_broken_timeline.py b/test_runner/regress/test_broken_timeline.py index 2ccf87c84e..1ce9fd006f 100644 --- a/test_runner/regress/test_broken_timeline.py +++ b/test_runner/regress/test_broken_timeline.py @@ -90,8 +90,9 @@ def test_broken_timeline(neon_env_builder: NeonEnvBuilder): # Second timeline has no ancestors, only the metadata file and no layer files locally, # and we don't have the remote storage enabled. It is loaded into memory, but getting # the basebackup from it will fail. - # TODO this needed changing beacuse we no longer fail load if the layer map is empty. The tenant is active now but basebackup fails. - with pytest.raises(Exception, match=r".*base backup failed") as err: + with pytest.raises( + Exception, match=f"Tenant {tenant2} will not become active. Current state: Broken" + ) as err: pg2.start() log.info(f"As expected, compute startup failed for timeline with missing layers: {err}")