diff options
Diffstat (limited to 'tokio/tests/signal_drop_rt.rs')
-rw-r--r-- | tokio/tests/signal_drop_rt.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tokio/tests/signal_drop_rt.rs b/tokio/tests/signal_drop_rt.rs index 709e0d41..b931d7a9 100644 --- a/tokio/tests/signal_drop_rt.rs +++ b/tokio/tests/signal_drop_rt.rs @@ -37,8 +37,7 @@ fn dropping_loops_does_not_cause_starvation() { } fn rt() -> Runtime { - tokio::runtime::Builder::new() - .basic_scheduler() + tokio::runtime::Builder::new_current_thread() .enable_all() .build() .unwrap() |