@@ -18,7 +18,7 @@ use std::time::Duration;
1818
1919mod test_utils;
2020
21- #[ tokio:: test( flavor = "multi_thread" , worker_threads = 1 ) ]
21+ #[ tokio:: test( flavor = "multi_thread" ) ]
2222async fn test_node_start ( ) {
2323 let TestParams { wallet, .. } = build_test_nodes ( ) . await ;
2424
@@ -88,7 +88,7 @@ async fn test_receive_to_trusted() {
8888 lsp. stop ( ) . unwrap ( ) ;
8989}
9090
91- #[ tokio:: test( flavor = "multi_thread" , worker_threads = 1 ) ]
91+ #[ tokio:: test( flavor = "multi_thread" ) ]
9292async fn test_pay_from_trusted ( ) {
9393 let TestParams { wallet, third_party, lsp, .. } = build_test_nodes ( ) . await ;
9494
@@ -167,7 +167,7 @@ async fn test_pay_from_trusted() {
167167 }
168168}
169169
170- #[ tokio:: test( flavor = "multi_thread" , worker_threads = 1 ) ]
170+ #[ tokio:: test( flavor = "multi_thread" ) ]
171171async fn test_sweep_to_ln ( ) {
172172 let TestParams { wallet, lsp, third_party, .. } = build_test_nodes ( ) . await ;
173173
@@ -320,7 +320,7 @@ async fn test_sweep_to_ln() {
320320 ) ;
321321}
322322
323- #[ tokio:: test( flavor = "multi_thread" , worker_threads = 1 ) ]
323+ #[ tokio:: test( flavor = "multi_thread" ) ]
324324async fn test_receive_to_ln ( ) {
325325 let TestParams { wallet, third_party, .. } = build_test_nodes ( ) . await ;
326326
@@ -358,7 +358,7 @@ async fn test_receive_to_ln() {
358358 ) ;
359359}
360360
361- #[ tokio:: test( flavor = "multi_thread" , worker_threads = 1 ) ]
361+ #[ tokio:: test( flavor = "multi_thread" ) ]
362362async fn test_receive_to_onchain ( ) {
363363 let TestParams { wallet, lsp, bitcoind, third_party, .. } = build_test_nodes ( ) . await ;
364364
@@ -556,7 +556,7 @@ async fn run_test_pay_lightning_from_self_custody(amountless: bool) {
556556 && p. amount_msat == Some ( amount. milli_sats( ) ) ) ) ;
557557}
558558
559- #[ tokio:: test( flavor = "multi_thread" , worker_threads = 1 ) ]
559+ #[ tokio:: test( flavor = "multi_thread" ) ]
560560async fn test_pay_lightning_from_self_custody ( ) {
561561 run_test_pay_lightning_from_self_custody ( false ) . await ;
562562 run_test_pay_lightning_from_self_custody ( true ) . await ;
@@ -644,13 +644,13 @@ async fn run_test_pay_bolt12_from_self_custody(amountless: bool) {
644644 && p. amount_msat == Some ( amount. milli_sats( ) ) ) ) ;
645645}
646646
647- #[ tokio:: test( flavor = "multi_thread" , worker_threads = 1 ) ]
647+ #[ tokio:: test( flavor = "multi_thread" ) ]
648648async fn test_pay_bolt12_from_self_custody ( ) {
649649 run_test_pay_bolt12_from_self_custody ( false ) . await ;
650650 run_test_pay_bolt12_from_self_custody ( true ) . await ;
651651}
652652
653- #[ tokio:: test( flavor = "multi_thread" , worker_threads = 1 ) ]
653+ #[ tokio:: test( flavor = "multi_thread" ) ]
654654async fn test_pay_onchain_from_self_custody ( ) {
655655 let TestParams { wallet, bitcoind, third_party, .. } = build_test_nodes ( ) . await ;
656656
@@ -753,7 +753,7 @@ async fn test_pay_onchain_from_self_custody() {
753753 . await ;
754754}
755755
756- #[ tokio:: test( flavor = "multi_thread" , worker_threads = 1 ) ]
756+ #[ tokio:: test( flavor = "multi_thread" ) ]
757757async fn test_force_close_handling ( ) {
758758 let TestParams { wallet, lsp, bitcoind, third_party, .. } = build_test_nodes ( ) . await ;
759759
@@ -794,7 +794,7 @@ async fn test_force_close_handling() {
794794 assert ! ( !rebalancing) ;
795795}
796796
797- #[ tokio:: test( flavor = "multi_thread" , worker_threads = 1 ) ]
797+ #[ tokio:: test( flavor = "multi_thread" ) ]
798798async fn test_close_all_channels ( ) {
799799 let TestParams { wallet, lsp, bitcoind, third_party, .. } = build_test_nodes ( ) . await ;
800800
@@ -828,7 +828,7 @@ async fn test_close_all_channels() {
828828 assert ! ( !rebalancing) ;
829829}
830830
831- #[ tokio:: test( flavor = "multi_thread" , worker_threads = 1 ) ]
831+ #[ tokio:: test( flavor = "multi_thread" ) ]
832832async fn test_threshold_boundary_trusted_balance_limit ( ) {
833833 let TestParams { wallet, third_party, .. } = build_test_nodes ( ) . await ;
834834
@@ -904,7 +904,7 @@ async fn test_threshold_boundary_trusted_balance_limit() {
904904 ) ;
905905}
906906
907- #[ tokio:: test( flavor = "multi_thread" , worker_threads = 1 ) ]
907+ #[ tokio:: test( flavor = "multi_thread" ) ]
908908async fn test_threshold_boundary_rebalance_min ( ) {
909909 let TestParams { wallet, third_party, .. } = build_test_nodes ( ) . await ;
910910
@@ -977,7 +977,7 @@ async fn test_threshold_boundary_rebalance_min() {
977977 ) ;
978978}
979979
980- #[ tokio:: test( flavor = "multi_thread" , worker_threads = 1 ) ]
980+ #[ tokio:: test( flavor = "multi_thread" ) ]
981981async fn test_threshold_boundary_onchain_receive_threshold ( ) {
982982 let TestParams { wallet, .. } = build_test_nodes ( ) . await ;
983983
@@ -1037,7 +1037,7 @@ async fn test_threshold_boundary_onchain_receive_threshold() {
10371037 }
10381038}
10391039
1040- #[ tokio:: test( flavor = "multi_thread" , worker_threads = 1 ) ]
1040+ #[ tokio:: test( flavor = "multi_thread" ) ]
10411041async fn test_threshold_combinations_and_edge_cases ( ) {
10421042 let TestParams { wallet, .. } = build_test_nodes ( ) . await ;
10431043
@@ -1095,7 +1095,7 @@ async fn test_threshold_combinations_and_edge_cases() {
10951095 }
10961096}
10971097
1098- #[ tokio:: test( flavor = "multi_thread" , worker_threads = 1 ) ]
1098+ #[ tokio:: test( flavor = "multi_thread" ) ]
10991099async fn test_invalid_payment_instructions ( ) {
11001100 let TestParams { wallet, third_party, .. } = build_test_nodes ( ) . await ;
11011101
@@ -1156,7 +1156,7 @@ async fn test_invalid_payment_instructions() {
11561156 assert_eq ! ( txs. len( ) , 0 , "Failed payments should not be recorded in transaction list" ) ;
11571157}
11581158
1159- #[ tokio:: test( flavor = "multi_thread" , worker_threads = 1 ) ]
1159+ #[ tokio:: test( flavor = "multi_thread" ) ]
11601160async fn test_payment_with_expired_invoice ( ) {
11611161 let TestParams { wallet, third_party, .. } = build_test_nodes ( ) . await ;
11621162
@@ -1185,7 +1185,7 @@ async fn test_payment_with_expired_invoice() {
11851185 assert ! ( matches!( parse_result. unwrap_err( ) , ParseError :: InstructionsExpired ) ) ;
11861186}
11871187
1188- #[ tokio:: test( flavor = "multi_thread" , worker_threads = 1 ) ]
1188+ #[ tokio:: test( flavor = "multi_thread" ) ]
11891189async fn test_payment_network_mismatch ( ) {
11901190 let TestParams { wallet, bitcoind, .. } = build_test_nodes ( ) . await ;
11911191
@@ -1238,7 +1238,7 @@ async fn test_payment_network_mismatch() {
12381238 ) ;
12391239}
12401240
1241- #[ tokio:: test( flavor = "multi_thread" , worker_threads = 1 ) ]
1241+ #[ tokio:: test( flavor = "multi_thread" ) ]
12421242async fn test_concurrent_payments ( ) {
12431243 let TestParams { wallet, bitcoind, third_party, .. } = build_test_nodes ( ) . await ;
12441244
@@ -1410,7 +1410,7 @@ async fn test_concurrent_payments() {
14101410 ) ;
14111411}
14121412
1413- #[ tokio:: test( flavor = "multi_thread" , worker_threads = 1 ) ]
1413+ #[ tokio:: test( flavor = "multi_thread" ) ]
14141414async fn test_concurrent_receive_operations ( ) {
14151415 let TestParams { wallet, third_party, .. } = build_test_nodes ( ) . await ;
14161416
@@ -1465,7 +1465,7 @@ async fn test_concurrent_receive_operations() {
14651465 assert_eq ! ( incoming_count, 2 , "Should have exactly 2 incoming transactions" ) ;
14661466}
14671467
1468- #[ tokio:: test( flavor = "multi_thread" , worker_threads = 1 ) ]
1468+ #[ tokio:: test( flavor = "multi_thread" ) ]
14691469async fn test_balance_consistency_under_load ( ) {
14701470 let TestParams { wallet, third_party, .. } = build_test_nodes ( ) . await ;
14711471
@@ -1516,7 +1516,7 @@ async fn test_balance_consistency_under_load() {
15161516 }
15171517}
15181518
1519- #[ tokio:: test( flavor = "multi_thread" , worker_threads = 1 ) ]
1519+ #[ tokio:: test( flavor = "multi_thread" ) ]
15201520async fn test_invalid_tunables_relationships ( ) {
15211521 let TestParams { wallet, .. } = build_test_nodes ( ) . await ;
15221522
@@ -1593,7 +1593,7 @@ async fn test_invalid_tunables_relationships() {
15931593 }
15941594}
15951595
1596- #[ tokio:: test( flavor = "multi_thread" , worker_threads = 1 ) ]
1596+ #[ tokio:: test( flavor = "multi_thread" ) ]
15971597async fn test_extreme_amount_handling ( ) {
15981598 let TestParams { wallet, .. } = build_test_nodes ( ) . await ;
15991599
@@ -1658,7 +1658,7 @@ async fn test_extreme_amount_handling() {
16581658 // On-chain address depends on threshold, not msat precision
16591659}
16601660
1661- #[ tokio:: test( flavor = "multi_thread" , worker_threads = 1 ) ]
1661+ #[ tokio:: test( flavor = "multi_thread" ) ]
16621662async fn test_wallet_configuration_validation ( ) {
16631663 let TestParams { wallet, .. } = build_test_nodes ( ) . await ;
16641664
@@ -1721,7 +1721,7 @@ async fn test_wallet_configuration_validation() {
17211721 ) ;
17221722}
17231723
1724- #[ tokio:: test( flavor = "multi_thread" , worker_threads = 1 ) ]
1724+ #[ tokio:: test( flavor = "multi_thread" ) ]
17251725async fn test_edge_case_payment_instruction_parsing ( ) {
17261726 let TestParams { wallet, third_party, .. } = build_test_nodes ( ) . await ;
17271727
@@ -1771,7 +1771,7 @@ async fn test_edge_case_payment_instruction_parsing() {
17711771 }
17721772}
17731773
1774- #[ tokio:: test( flavor = "multi_thread" , worker_threads = 1 ) ]
1774+ #[ tokio:: test( flavor = "multi_thread" ) ]
17751775async fn test_lsp_connectivity_fallback ( ) {
17761776 let TestParams { wallet, lsp, bitcoind, third_party, .. } = build_test_nodes ( ) . await ;
17771777
0 commit comments