Fix fs2 tests
This commit is contained in:
1 parent
c1904b493b
commit
5f5234c5da
1 file changed
+1
-1
@@ -220,7 +220,7 @@ impl Executor {
|
||||
|
||||
#[cfg(any(test, feature = "test-support"))]
|
||||
pub fn simulate_random_delay(&self) -> impl Future<Output = ()> {
|
||||
self.dispatcher.as_test().unwrap().simulate_random_delay()
|
||||
self.spawn(self.dispatcher.as_test().unwrap().simulate_random_delay())
|
||||
}
|
||||
|
||||
#[cfg(any(test, feature = "test-support"))]
|
||||
|
||||
Reference in new issue
Block a user