mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-10 06:52:55 +00:00
Allow failure to report metrics in test_metric_collection.
Per CI https://github.com/neondatabase/neon/actions/runs/3822039946/attempts/1 shutdown seems to be racy.
This commit is contained in:
@@ -107,6 +107,9 @@ def test_metric_collection(
|
||||
|
||||
# spin up neon, after http server is ready
|
||||
env = neon_env_builder.init_start()
|
||||
# Order of fixtures shutdown is not specified, and if http server gets down
|
||||
# before pageserver, pageserver log might contain such errors in the end.
|
||||
env.pageserver.allowed_errors.append(".*metrics endpoint refused the sent metrics*")
|
||||
env.neon_cli.create_branch("test_metric_collection")
|
||||
pg = env.postgres.create_start("test_metric_collection")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user