Skip to content

Commit e2cc747

Browse files
authored
Fix miri test failure (#2621)
1 parent bfb4b9c commit e2cc747

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

futures-test/src/future/mod.rs

+1
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ pub trait FutureTestExt: Future {
6868
///
6969
/// assert_eq!(rx.await, Ok(5));
7070
/// # });
71+
/// # std::thread::sleep(std::time::Duration::from_secs(1)); // wait for background threads closed
7172
/// ```
7273
fn run_in_background(self)
7374
where

0 commit comments

Comments
 (0)