Skip to content

Commit

Permalink
Fix integration test and address feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomsonTan committed Dec 18, 2024
1 parent 1f31465 commit f169f06
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion opentelemetry-otlp/tests/integration_test/tests/logs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ fn init_logs() -> Result<sdklogs::LoggerProvider> {
let exporter = exporter_builder.build()?;

Ok(LoggerProvider::builder()
.with_batch_exporter(exporter, runtime::Tokio)
.with_batch_exporter(exporter)
.with_resource(
Resource::builder_empty()
.with_service_name("logs-integration-test")
Expand Down
3 changes: 0 additions & 3 deletions opentelemetry-sdk/src/logs/log_processor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1198,9 +1198,6 @@ mod tests {
let exporter = InMemoryLogExporterBuilder::default().build();
let processor = BatchLogProcessor::new(Box::new(exporter.clone()), BatchConfig::default());

//
// deadloack happens in shutdown with tokio current_thread runtime
//
processor.shutdown().unwrap();
}

Expand Down

0 comments on commit f169f06

Please sign in to comment.