test: allow slow shutdown warning (#4953)

Introduced in #4886, did not consider that tests with real_s3 could
sometimes go over the limit. Do not fail tests because of that.
This commit is contained in:
Joonas Koivunen
2023-08-10 15:55:41 +03:00
committed by GitHub
parent 119b86480f
commit 71f9d9e5a3
2 changed files with 3 additions and 0 deletions

View File

@@ -226,6 +226,7 @@ async fn timed<Fut: std::future::Future>(
let ret = fut.await;
// this has a global allowed_errors
tracing::warn!(
task = name,
elapsed_ms = started.elapsed().as_millis(),

View File

@@ -1518,6 +1518,8 @@ class NeonPageserver(PgProtocol):
# Pageserver timeline deletion should be polled until it gets 404, so ignore it globally
".*Error processing HTTP request: NotFound: Timeline .* was not found",
".*took more than expected to complete.*",
# these can happen during shutdown, but it should not be a reason to fail a test
".*completed, took longer than expected.*",
]
def start(