summaryrefslogtreecommitdiffstats
path: root/tokio/tests/task_local.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tokio/tests/task_local.rs')
-rw-r--r--tokio/tests/task_local.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tokio/tests/task_local.rs b/tokio/tests/task_local.rs
index 58b58183..99815324 100644
--- a/tokio/tests/task_local.rs
+++ b/tokio/tests/task_local.rs
@@ -3,7 +3,7 @@ tokio::task_local! {
pub static FOO: bool;
}
-#[tokio::test(threaded_scheduler)]
+#[tokio::test(flavor = "multi_thread")]
async fn local() {
let j1 = tokio::spawn(REQ_ID.scope(1, async move {
assert_eq!(REQ_ID.get(), 1);