diff options
Diffstat (limited to 'tokio/tests/io_driver.rs')
-rw-r--r-- | tokio/tests/io_driver.rs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tokio/tests/io_driver.rs b/tokio/tests/io_driver.rs index a97de8d2..ec51373f 100644 --- a/tokio/tests/io_driver.rs +++ b/tokio/tests/io_driver.rs @@ -44,7 +44,11 @@ fn test_drop_on_notify() { // shutting down. Then, when the task handle is dropped, the task itself is // dropped. - let mut rt = runtime::Builder::new().basic_scheduler().build().unwrap(); + let mut rt = runtime::Builder::new() + .basic_scheduler() + .enable_all() + .build() + .unwrap(); let (addr_tx, addr_rx) = mpsc::channel(); |