@@ -321,7 +321,7 @@ mod tests {
321
321
DbOption , Projection , DB ,
322
322
} ;
323
323
324
- #[ tokio:: test]
324
+ #[ tokio:: test( flavor = "multi_thread" ) ]
325
325
async fn transaction_read_write ( ) {
326
326
let temp_dir = TempDir :: new ( ) . unwrap ( ) ;
327
327
@@ -361,7 +361,7 @@ mod tests {
361
361
}
362
362
}
363
363
364
- #[ tokio:: test]
364
+ #[ tokio:: test( flavor = "multi_thread" ) ]
365
365
async fn transaction_get ( ) {
366
366
let temp_dir = TempDir :: new ( ) . unwrap ( ) ;
367
367
let manager = Arc :: new ( StoreManager :: new ( FsOptions :: Local , vec ! [ ] ) . unwrap ( ) ) ;
@@ -454,7 +454,7 @@ mod tests {
454
454
}
455
455
}
456
456
457
- #[ tokio:: test]
457
+ #[ tokio:: test( flavor = "multi_thread" ) ]
458
458
async fn write_conflicts ( ) {
459
459
let temp_dir = TempDir :: new ( ) . unwrap ( ) ;
460
460
let option = DbOption :: new (
@@ -490,7 +490,7 @@ mod tests {
490
490
unreachable ! ( ) ;
491
491
}
492
492
493
- #[ tokio:: test]
493
+ #[ tokio:: test( flavor = "multi_thread" ) ]
494
494
async fn transaction_projection ( ) {
495
495
let temp_dir = TempDir :: new ( ) . unwrap ( ) ;
496
496
let option = DbOption :: new (
@@ -541,7 +541,7 @@ mod tests {
541
541
assert_eq ! ( entry. get( ) . vbool, None ) ;
542
542
}
543
543
544
- #[ tokio:: test]
544
+ #[ tokio:: test( flavor = "multi_thread" ) ]
545
545
async fn transaction_scan ( ) {
546
546
let temp_dir = TempDir :: new ( ) . unwrap ( ) ;
547
547
let manager = Arc :: new ( StoreManager :: new ( FsOptions :: Local , vec ! [ ] ) . unwrap ( ) ) ;
@@ -638,7 +638,7 @@ mod tests {
638
638
assert_eq ! ( entry_15. key( ) . value, "king" ) ;
639
639
}
640
640
641
- #[ tokio:: test]
641
+ #[ tokio:: test( flavor = "multi_thread" ) ]
642
642
async fn test_transaction_scan_bound ( ) {
643
643
let temp_dir = TempDir :: new ( ) . unwrap ( ) ;
644
644
let manager = Arc :: new ( StoreManager :: new ( FsOptions :: Local , vec ! [ ] ) . unwrap ( ) ) ;
@@ -816,7 +816,7 @@ mod tests {
816
816
}
817
817
}
818
818
819
- #[ tokio:: test]
819
+ #[ tokio:: test( flavor = "multi_thread" ) ]
820
820
async fn test_transaction_scan_limit ( ) {
821
821
let temp_dir = TempDir :: new ( ) . unwrap ( ) ;
822
822
let manager = Arc :: new ( StoreManager :: new ( FsOptions :: Local , vec ! [ ] ) . unwrap ( ) ) ;
@@ -881,7 +881,7 @@ mod tests {
881
881
}
882
882
}
883
883
884
- #[ tokio:: test]
884
+ #[ tokio:: test( flavor = "multi_thread" ) ]
885
885
async fn test_dyn_record ( ) {
886
886
let temp_dir = TempDir :: new ( ) . unwrap ( ) ;
887
887
let schema = test_dyn_item_schema ( ) ;
0 commit comments