From dd2136bd09bd4461d94ef65d20fdb573d9584122 Mon Sep 17 00:00:00 2001 From: John Spray Date: Tue, 17 Oct 2023 11:54:02 +0100 Subject: [PATCH] tests: fix test_ignore_while_attaching --- test_runner/regress/test_tenant_detach.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test_runner/regress/test_tenant_detach.py b/test_runner/regress/test_tenant_detach.py index e92a906fab..5bddf2b07e 100644 --- a/test_runner/regress/test_tenant_detach.py +++ b/test_runner/regress/test_tenant_detach.py @@ -778,7 +778,8 @@ def test_ignore_while_attaching( tenants_before_ignore ), "Only ignored tenant should be missing" - # But can load it from local files, that will restore attach. + # Calling load will bring the tenant back online + pageserver_http.configure_failpoints([("attach-before-activate", "off")]) pageserver_http.tenant_load(tenant_id) wait_until_tenant_state(pageserver_http, tenant_id, "Active", 5)