mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-15 09:22:55 +00:00
tests: broaden a log allow regex in test_ignored_tenant_stays_broken_without_metadata (#5168)
## Problem - https://github.com/neondatabase/neon/issues/5167 ## Summary of changes Accept "will not become active" log line with _either_ Broken or Stopping state, because we may hit it while in the process of doing the `/ignore` (earlier in the test than the test expects to see the same line with Broken)
This commit is contained in:
@@ -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: (Broken|Stopping).*"
|
||||
)
|
||||
|
||||
# ignore the tenant and remove its metadata
|
||||
|
||||
Reference in New Issue
Block a user