File tree Expand file tree Collapse file tree 2 files changed +1
-4
lines changed
opentelemetry-otlp/tests/integration_test/tests
opentelemetry-sdk/src/logs Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ fn init_logs() -> Result<sdklogs::LoggerProvider> {
2828 let exporter = exporter_builder. build ( ) ?;
2929
3030 Ok ( LoggerProvider :: builder ( )
31- . with_batch_exporter ( exporter, runtime :: Tokio )
31+ . with_batch_exporter ( exporter)
3232 . with_resource (
3333 Resource :: builder_empty ( )
3434 . with_service_name ( "logs-integration-test" )
Original file line number Diff line number Diff line change @@ -1198,9 +1198,6 @@ mod tests {
11981198 let exporter = InMemoryLogExporterBuilder :: default ( ) . build ( ) ;
11991199 let processor = BatchLogProcessor :: new ( Box :: new ( exporter. clone ( ) ) , BatchConfig :: default ( ) ) ;
12001200
1201- //
1202- // deadloack happens in shutdown with tokio current_thread runtime
1203- //
12041201 processor. shutdown ( ) . unwrap ( ) ;
12051202 }
12061203
You can’t perform that action at this time.
0 commit comments