@@ -25,6 +25,8 @@ use std::time::Duration;
2525use std:: time:: SystemTime ;
2626use std:: time:: UNIX_EPOCH ;
2727
28+ use databend_query:: test_kits:: ConfigBuilder ;
29+ use databend_query:: test_kits:: TestFixture ;
2830use fastrace:: collector:: Config as CollectorConfig ;
2931use fastrace:: collector:: Reporter ;
3032use fastrace:: collector:: SpanRecord ;
@@ -39,8 +41,6 @@ use opentelemetry_sdk::Resource;
3941use opentelemetry_sdk:: error:: OTelSdkResult ;
4042use opentelemetry_sdk:: trace:: SpanData ;
4143use opentelemetry_sdk:: trace:: SpanExporter ;
42- use databend_query:: test_kits:: ConfigBuilder ;
43- use databend_query:: test_kits:: TestFixture ;
4444
4545static TRACE_TEST_LOCK : Mutex < ( ) > = Mutex :: new ( ( ) ) ;
4646static TRACE_REPORTER : OnceLock < TraceCaptureHandle > = OnceLock :: new ( ) ;
@@ -210,7 +210,9 @@ pub(crate) async fn setup_trace_debug_fixture() -> anyhow::Result<TestFixture> {
210210 let mut config = ConfigBuilder :: create ( ) . config ( ) ;
211211 config. log . tracing . on = false ;
212212 config. log . structlog . on = true ;
213- TestFixture :: setup_with_config ( & config) . await . map_err ( Into :: into)
213+ TestFixture :: setup_with_config ( & config)
214+ . await
215+ . map_err ( Into :: into)
214216}
215217
216218pub ( crate ) fn build_trace_debug_otlp_export ( spans : & [ SpanRecord ] ) -> ExportTraceServiceRequest {
0 commit comments