diff --git a/r2r/tests/tokio_testing.rs b/r2r/tests/tokio_testing.rs index e7e684d..cec59d3 100644 --- a/r2r/tests/tokio_testing.rs +++ b/r2r/tests/tokio_testing.rs @@ -53,6 +53,9 @@ async fn tokio_testing() -> Result<(), Box> { ) .unwrap(); + // wait a little for publisher info to populate(?). hack to avoid CI failures. + tokio::time::sleep(tokio::time::Duration::from_millis(100)).await; + let pub_info = node .get_publishers_info_by_topic(&format!("/float_no_{i_context}"), false) .unwrap();