@@ -619,7 +619,7 @@ mod tests {
619
619
our_view : View ( vec ! [ hash_a, hash_b] ) ,
620
620
} ;
621
621
622
- let pool = sp_core:: testing:: SpawnBlockingExecutor :: new ( ) ;
622
+ let pool = sp_core:: testing:: TaskExecutor :: new ( ) ;
623
623
let ( mut ctx, mut handle) = polkadot_subsystem:: test_helpers:: make_subsystem_context ( pool) ;
624
624
let mut descriptor = CandidateDescriptor :: default ( ) ;
625
625
descriptor. pov_hash = pov_hash;
@@ -699,7 +699,7 @@ mod tests {
699
699
our_view : View ( vec ! [ hash_a] ) ,
700
700
} ;
701
701
702
- let pool = sp_core:: testing:: SpawnBlockingExecutor :: new ( ) ;
702
+ let pool = sp_core:: testing:: TaskExecutor :: new ( ) ;
703
703
let ( mut ctx, mut handle) = polkadot_subsystem:: test_helpers:: make_subsystem_context ( pool) ;
704
704
let mut descriptor = CandidateDescriptor :: default ( ) ;
705
705
descriptor. pov_hash = pov_hash;
@@ -777,7 +777,7 @@ mod tests {
777
777
our_view : View ( vec ! [ hash_a] ) ,
778
778
} ;
779
779
780
- let pool = sp_core:: testing:: SpawnBlockingExecutor :: new ( ) ;
780
+ let pool = sp_core:: testing:: TaskExecutor :: new ( ) ;
781
781
let ( mut ctx, mut handle) = polkadot_subsystem:: test_helpers:: make_subsystem_context ( pool) ;
782
782
783
783
executor:: block_on ( async move {
@@ -849,7 +849,7 @@ mod tests {
849
849
our_view : View ( vec ! [ hash_a] ) ,
850
850
} ;
851
851
852
- let pool = sp_core:: testing:: SpawnBlockingExecutor :: new ( ) ;
852
+ let pool = sp_core:: testing:: TaskExecutor :: new ( ) ;
853
853
let ( mut ctx, mut handle) = polkadot_subsystem:: test_helpers:: make_subsystem_context ( pool) ;
854
854
855
855
executor:: block_on ( async move {
@@ -937,7 +937,7 @@ mod tests {
937
937
our_view : View ( vec ! [ hash_a] ) ,
938
938
} ;
939
939
940
- let pool = sp_core:: testing:: SpawnBlockingExecutor :: new ( ) ;
940
+ let pool = sp_core:: testing:: TaskExecutor :: new ( ) ;
941
941
let ( mut ctx, mut handle) = polkadot_subsystem:: test_helpers:: make_subsystem_context ( pool) ;
942
942
943
943
executor:: block_on ( async move {
@@ -1000,7 +1000,7 @@ mod tests {
1000
1000
our_view : View ( vec ! [ hash_a] ) ,
1001
1001
} ;
1002
1002
1003
- let pool = sp_core:: testing:: SpawnBlockingExecutor :: new ( ) ;
1003
+ let pool = sp_core:: testing:: TaskExecutor :: new ( ) ;
1004
1004
let ( mut ctx, mut handle) = polkadot_subsystem:: test_helpers:: make_subsystem_context ( pool) ;
1005
1005
1006
1006
executor:: block_on ( async move {
@@ -1061,7 +1061,7 @@ mod tests {
1061
1061
our_view : View ( vec ! [ hash_a] ) ,
1062
1062
} ;
1063
1063
1064
- let pool = sp_core:: testing:: SpawnBlockingExecutor :: new ( ) ;
1064
+ let pool = sp_core:: testing:: TaskExecutor :: new ( ) ;
1065
1065
let ( mut ctx, mut handle) = polkadot_subsystem:: test_helpers:: make_subsystem_context ( pool) ;
1066
1066
1067
1067
executor:: block_on ( async move {
@@ -1119,7 +1119,7 @@ mod tests {
1119
1119
our_view : View ( vec ! [ hash_a] ) ,
1120
1120
} ;
1121
1121
1122
- let pool = sp_core:: testing:: SpawnBlockingExecutor :: new ( ) ;
1122
+ let pool = sp_core:: testing:: TaskExecutor :: new ( ) ;
1123
1123
let ( mut ctx, mut handle) = polkadot_subsystem:: test_helpers:: make_subsystem_context ( pool) ;
1124
1124
1125
1125
executor:: block_on ( async move {
@@ -1204,7 +1204,7 @@ mod tests {
1204
1204
our_view : View ( vec ! [ hash_a, hash_b] ) ,
1205
1205
} ;
1206
1206
1207
- let pool = sp_core:: testing:: SpawnBlockingExecutor :: new ( ) ;
1207
+ let pool = sp_core:: testing:: TaskExecutor :: new ( ) ;
1208
1208
let ( mut ctx, mut handle) = polkadot_subsystem:: test_helpers:: make_subsystem_context ( pool) ;
1209
1209
1210
1210
executor:: block_on ( async move {
@@ -1266,7 +1266,7 @@ mod tests {
1266
1266
our_view : View ( vec ! [ hash_a] ) ,
1267
1267
} ;
1268
1268
1269
- let pool = sp_core:: testing:: SpawnBlockingExecutor :: new ( ) ;
1269
+ let pool = sp_core:: testing:: TaskExecutor :: new ( ) ;
1270
1270
let ( mut ctx, mut handle) = polkadot_subsystem:: test_helpers:: make_subsystem_context ( pool) ;
1271
1271
1272
1272
executor:: block_on ( async move {
@@ -1343,7 +1343,7 @@ mod tests {
1343
1343
our_view : View ( vec ! [ hash_a] ) ,
1344
1344
} ;
1345
1345
1346
- let pool = sp_core:: testing:: SpawnBlockingExecutor :: new ( ) ;
1346
+ let pool = sp_core:: testing:: TaskExecutor :: new ( ) ;
1347
1347
let ( mut ctx, mut handle) = polkadot_subsystem:: test_helpers:: make_subsystem_context ( pool) ;
1348
1348
1349
1349
executor:: block_on ( async move {
@@ -1426,7 +1426,7 @@ mod tests {
1426
1426
our_view : View ( vec ! [ hash_a] ) ,
1427
1427
} ;
1428
1428
1429
- let pool = sp_core:: testing:: SpawnBlockingExecutor :: new ( ) ;
1429
+ let pool = sp_core:: testing:: TaskExecutor :: new ( ) ;
1430
1430
let ( mut ctx, mut handle) = polkadot_subsystem:: test_helpers:: make_subsystem_context ( pool) ;
1431
1431
1432
1432
executor:: block_on ( async move {
0 commit comments