mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-09 14:32:57 +00:00
tests: suppress "Cancelled request finished with an error" in test_timeline_archive (#11241)
## Problem Previous PR https://github.com/neondatabase/neon/pull/11190 didn't suppress `Cancelled request finished with an error` messages, which are also expected, so the test https://github.com/neondatabase/neon/issues/11177 is still flaky. ## Summary of changes - Suppress `Cancelled request finished with an error` in `test_timeline_archive`
This commit is contained in:
@@ -46,8 +46,11 @@ def test_timeline_archive(neon_env_builder: NeonEnvBuilder, shard_count: int):
|
||||
# We make /archival_config requests that are intended to fail.
|
||||
# It's expected that storcon drops requests to other pageservers after
|
||||
# it gets the first error (https://github.com/neondatabase/neon/issues/11177)
|
||||
ps.allowed_errors.append(
|
||||
".*WARN.* path=/v1/tenant/.*/archival_config .*request was dropped before completing",
|
||||
ps.allowed_errors.extend(
|
||||
[
|
||||
".*WARN.* path=/v1/tenant/.*/archival_config .*request was dropped before completing",
|
||||
".*ERROR.* path=/v1/tenant/.*/archival_config .*Cancelled request finished with an error.*",
|
||||
]
|
||||
)
|
||||
|
||||
# first try to archive a non existing timeline for an existing tenant:
|
||||
|
||||
Reference in New Issue
Block a user