test: allow one more shutdown reason

I cannot see how there could be more.
This commit is contained in:
Joonas Koivunen
2024-05-13 12:23:13 +00:00
parent 5a0da93c53
commit 7c878d2986

View File

@@ -669,7 +669,7 @@ def test_synthetic_size_while_deleting(neon_env_builder: NeonEnvBuilder):
client.configure_failpoints((failpoint, "off"))
# accept both, because the deletion might still complete before
matcher = "(Failed to refresh gc_info before gathering inputs|NotFound: tenant)"
matcher = "(Failed to refresh gc_info before gathering inputs|NotFound: tenant|Conflict: will not become active. Current state: Stopping)"
with pytest.raises(PageserverApiException, match=matcher):
completion.result()