Tone down http error printing (#3434)

Only print backtraces for internal server error variants of the API
error.
This commit is contained in:
Kirill Bulatov
2023-01-25 12:36:30 +02:00
committed by GitHub
parent aabca55d7e
commit 9fbef1159f
2 changed files with 14 additions and 5 deletions

View File

@@ -237,7 +237,7 @@ def test_tenant_detach_smoke(neon_env_builder: NeonEnvBuilder):
env = neon_env_builder.init_start()
pageserver_http = env.pageserver.http_client()
env.pageserver.allowed_errors.append(".*NotFound\\(Tenant .* not found")
env.pageserver.allowed_errors.append(".*NotFound: Tenant .* not found")
# first check for non existing tenant
tenant_id = TenantId.generate()