@@ -9,7 +9,7 @@ use turbo_tasks_testing::{Registration, register, run};
99
1010static REGISTRATION : Registration = register ! ( ) ;
1111
12- #[ tokio:: test]
12+ #[ tokio:: test( flavor = "multi_thread" ) ]
1313async fn primitive_debug ( ) {
1414 run ( & REGISTRATION , || async {
1515 let a: Vc < u32 > = Vc :: cell ( 42 ) ;
@@ -20,7 +20,7 @@ async fn primitive_debug() {
2020 . unwrap ( )
2121}
2222
23- #[ tokio:: test]
23+ #[ tokio:: test( flavor = "multi_thread" ) ]
2424async fn transparent_debug ( ) {
2525 run ( & REGISTRATION , || async {
2626 let a: Vc < Transparent > = Transparent ( 42 ) . cell ( ) ;
@@ -32,7 +32,7 @@ async fn transparent_debug() {
3232 . unwrap ( )
3333}
3434
35- #[ tokio:: test]
35+ #[ tokio:: test( flavor = "multi_thread" ) ]
3636async fn enum_none_debug ( ) {
3737 run ( & REGISTRATION , || async {
3838 let a: Vc < Enum > = Enum :: None . cell ( ) ;
@@ -44,7 +44,7 @@ async fn enum_none_debug() {
4444 . unwrap ( )
4545}
4646
47- #[ tokio:: test]
47+ #[ tokio:: test( flavor = "multi_thread" ) ]
4848async fn enum_transparent_debug ( ) {
4949 run ( & REGISTRATION , || async {
5050 let a: Vc < Enum > = Enum :: Transparent ( Transparent ( 42 ) . resolved_cell ( ) ) . cell ( ) ;
@@ -60,7 +60,7 @@ async fn enum_transparent_debug() {
6060 . unwrap ( )
6161}
6262
63- #[ tokio:: test]
63+ #[ tokio:: test( flavor = "multi_thread" ) ]
6464async fn enum_inner_vc_debug ( ) {
6565 run ( & REGISTRATION , || async {
6666 let a: Vc < Enum > = Enum :: Enum ( Enum :: None . resolved_cell ( ) ) . cell ( ) ;
@@ -76,7 +76,7 @@ async fn enum_inner_vc_debug() {
7676 . unwrap ( )
7777}
7878
79- #[ tokio:: test]
79+ #[ tokio:: test( flavor = "multi_thread" ) ]
8080async fn struct_unit_debug ( ) {
8181 run ( & REGISTRATION , || async {
8282 let a: Vc < StructUnit > = StructUnit . cell ( ) ;
@@ -87,7 +87,7 @@ async fn struct_unit_debug() {
8787 . unwrap ( )
8888}
8989
90- #[ tokio:: test]
90+ #[ tokio:: test( flavor = "multi_thread" ) ]
9191async fn struct_transparent_debug ( ) {
9292 run ( & REGISTRATION , || async {
9393 let a: Vc < StructWithTransparent > = StructWithTransparent {
@@ -106,7 +106,7 @@ async fn struct_transparent_debug() {
106106 . unwrap ( )
107107}
108108
109- #[ tokio:: test]
109+ #[ tokio:: test( flavor = "multi_thread" ) ]
110110async fn struct_vec_debug ( ) {
111111 run ( & REGISTRATION , || async {
112112 let a: Vc < StructWithVec > = StructWithVec { vec : vec ! [ ] } . cell ( ) ;
@@ -135,7 +135,7 @@ async fn struct_vec_debug() {
135135 . unwrap ( )
136136}
137137
138- #[ tokio:: test]
138+ #[ tokio:: test( flavor = "multi_thread" ) ]
139139async fn struct_ignore_debug ( ) {
140140 run ( & REGISTRATION , || async {
141141 let a: Vc < StructWithIgnore > = StructWithIgnore {
0 commit comments