test: allow witnessing stopping before broken

This commit is contained in:
Joonas Koivunen
2023-08-29 12:24:39 +03:00
parent 6e47438f43
commit 8348bc9b1a

View File

@@ -688,7 +688,7 @@ def test_ignored_tenant_stays_broken_without_metadata(
# temporarily detached produces these errors in the pageserver log.
env.pageserver.allowed_errors.append(f".*Tenant {tenant_id} not found.*")
env.pageserver.allowed_errors.append(
f".*Tenant {tenant_id} will not become active\\. Current state: Broken.*"
f".*Tenant {tenant_id} will not become active\\. Current state: (Stopping|Broken).*"
)
# ignore the tenant and remove its metadata