mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-07 21:42:56 +00:00
test: allow race with flush and stopped queue (#5027)
A lucky race can happen with the shutdown order I guess right now. Seen in [test_tenant_delete_smoke]. The message is not the greatest to match against. [test_tenant_delete_smoke]: https://neon-github-public-dev.s3.amazonaws.com/reports/main/5892262320/index.html#suites/3556ed71f2d69272a7014df6dcb02317/189a0d1245fb5a8c
This commit is contained in:
@@ -48,6 +48,11 @@ def test_tenant_delete_smoke(
|
||||
|
||||
env = neon_env_builder.init_start()
|
||||
|
||||
# lucky race with stopping from flushing a layer we fail to schedule any uploads
|
||||
env.pageserver.allowed_errors.append(
|
||||
".*layer flush task.+: could not flush frozen layer: update_metadata_file"
|
||||
)
|
||||
|
||||
ps_http = env.pageserver.http_client()
|
||||
|
||||
# first try to delete non existing tenant
|
||||
|
||||
Reference in New Issue
Block a user