Skip to content

Commit

Permalink
remove sleep
Browse files Browse the repository at this point in the history
  • Loading branch information
lalitb committed Jun 27, 2024
1 parent 9745521 commit 804c763
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion opentelemetry-sdk/src/logs/log_processor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -771,7 +771,6 @@ mod tests {
KeyValue::new("k5", "v5"),
]))
.build();
tokio::time::sleep(Duration::from_secs(2)).await; // set resource in batch span processor is not blocking. Should we make it blocking?
assert_eq!(exporter.get_resource().unwrap().into_iter().count(), 5);
let _ = provider.shutdown();
}
Expand Down

0 comments on commit 804c763

Please sign in to comment.