test: test_timeline_ancestor_detach_errors rare allowed_error (#8782)

Add another allowed_error for this rarity.

Fixes: #8773
This commit is contained in:
Joonas Koivunen
2024-08-21 14:51:08 +03:00
committed by GitHub
parent 477246f42c
commit 3b8016488e

View File

@@ -639,8 +639,12 @@ def test_timeline_ancestor_detach_errors(neon_env_builder: NeonEnvBuilder, shard
for ps in pageservers.values():
ps.allowed_errors.extend(SHUTDOWN_ALLOWED_ERRORS)
ps.allowed_errors.append(
".* WARN .* path=/v1/tenant/.*/timeline/.*/detach_ancestor request_id=.*: request was dropped before completing"
ps.allowed_errors.extend(
[
".* WARN .* path=/v1/tenant/.*/timeline/.*/detach_ancestor request_id=.*: request was dropped before completing",
# rare error logging, which is hard to reproduce without instrumenting responding with random sleep
'.* ERROR .* path=/v1/tenant/.*/timeline/.*/detach_ancestor request_id=.*: Cancelled request finished with an error: Conflict\\("no ancestors"\\)',
]
)
client = (