Skip to content

Commit ab7817b

Browse files
committed
Give the thing a chance to start
1 parent 7085335 commit ab7817b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

opentelemetry-otlp/tests/integration_test/src/test_utils.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,9 @@ pub async fn start_collector_container() {
8383
name: "Container started",
8484
ports = format!("{:?}", container.ports()));
8585

86+
// Give the container a second to stabilize
87+
tokio::time::sleep(std::time::Duration::from_secs(5)).await;
88+
8689
// Store the container in COLLECTOR_ARC
8790
*arc_guard = Some(Arc::clone(&container));
8891
}

0 commit comments

Comments
 (0)