diff --git a/cli/tools/test.rs b/cli/tools/test.rs index 20d61098be..b6e9e3d70c 100644 --- a/cli/tools/test.rs +++ b/cli/tools/test.rs @@ -813,14 +813,10 @@ async fn test_specifiers( let options = options.clone(); tokio::task::spawn_blocking(move || { - let join_handle = std::thread::spawn(move || { - let future = - test_specifier(ps, permissions, specifier, mode, sender, options); + let future = + test_specifier(ps, permissions, specifier, mode, sender, options); - run_basic(future) - }); - - join_handle.join().unwrap() + run_basic(future) }) });