From 8375c7bbf0168b64b863e90719639f6688c91a3b Mon Sep 17 00:00:00 2001 From: bsodfather Date: Sun, 30 Aug 2026 12:03:14 +0300 Subject: [PATCH] test(admin): disable ANSI in telemetry capture --- .../admin-api/tests/integration/openapi_source/telemetry.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/apps/admin-api/tests/integration/openapi_source/telemetry.rs b/apps/admin-api/tests/integration/openapi_source/telemetry.rs index 579ec75..41a3688 100644 --- a/apps/admin-api/tests/integration/openapi_source/telemetry.rs +++ b/apps/admin-api/tests/integration/openapi_source/telemetry.rs @@ -31,7 +31,11 @@ async fn parser_canary_never_reaches_diagnostics_logs_traces_or_metrics() { .build(); let tracer = provider.tracer("admin-openapi-source-test"); let subscriber = tracing_subscriber::registry() - .with(tracing_subscriber::fmt::layer().with_writer(writer.clone())) + .with( + tracing_subscriber::fmt::layer() + .with_ansi(false) + .with_writer(writer.clone()), + ) .with(tracing_opentelemetry::layer().with_tracer(tracer)); let dispatch = tracing::Dispatch::new(subscriber); tracing::dispatcher::set_global_default(dispatch)