Skip to content

Commit 6e7e418

Browse files
committed
Fix test
1 parent 86d7058 commit 6e7e418

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

opentelemetry-sdk/src/logs/log_processor.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1071,10 +1071,7 @@ mod tests {
10711071
async fn test_batch_forceflush() {
10721072
let exporter = InMemoryLogExporterBuilder::default().build();
10731073

1074-
let processor = BatchLogProcessor::new(
1075-
Box::new(exporter.clone()),
1076-
BatchConfig::default(),
1077-
);
1074+
let processor = BatchLogProcessor::new(exporter.clone(), BatchConfig::default());
10781075

10791076
let mut record = LogRecord::default();
10801077
let instrumentation = InstrumentationScope::default();

0 commit comments

Comments
 (0)