@@ -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
@@ -554,7 +554,7 @@ async fn run_test_pay_lightning_from_self_custody(amountless: bool) {
554554 && p. amount_msat == Some ( amount. milli_sats( ) ) ) ) ;
555555}
556556
557- #[ tokio:: test( flavor = "multi_thread" , worker_threads = 1 ) ]
557+ #[ tokio:: test( flavor = "multi_thread" ) ]
558558async fn test_pay_lightning_from_self_custody ( ) {
559559 run_test_pay_lightning_from_self_custody ( false ) . await ;
560560 run_test_pay_lightning_from_self_custody ( true ) . await ;
@@ -642,13 +642,13 @@ async fn run_test_pay_bolt12_from_self_custody(amountless: bool) {
642642 && p. amount_msat == Some ( amount. milli_sats( ) ) ) ) ;
643643}
644644
645- #[ tokio:: test( flavor = "multi_thread" , worker_threads = 1 ) ]
645+ #[ tokio:: test( flavor = "multi_thread" ) ]
646646async fn test_pay_bolt12_from_self_custody ( ) {
647647 run_test_pay_bolt12_from_self_custody ( false ) . await ;
648648 run_test_pay_bolt12_from_self_custody ( true ) . await ;
649649}
650650
651- #[ tokio:: test( flavor = "multi_thread" , worker_threads = 1 ) ]
651+ #[ tokio:: test( flavor = "multi_thread" ) ]
652652async fn test_pay_onchain_from_self_custody ( ) {
653653 let TestParams { wallet, bitcoind, third_party, .. } = build_test_nodes ( ) . await ;
654654
@@ -751,7 +751,7 @@ async fn test_pay_onchain_from_self_custody() {
751751 . await ;
752752}
753753
754- #[ tokio:: test( flavor = "multi_thread" , worker_threads = 1 ) ]
754+ #[ tokio:: test( flavor = "multi_thread" ) ]
755755async fn test_force_close_handling ( ) {
756756 let TestParams { wallet, lsp, bitcoind, third_party, .. } = build_test_nodes ( ) . await ;
757757
@@ -792,7 +792,7 @@ async fn test_force_close_handling() {
792792 assert ! ( !rebalancing) ;
793793}
794794
795- #[ tokio:: test( flavor = "multi_thread" , worker_threads = 1 ) ]
795+ #[ tokio:: test( flavor = "multi_thread" ) ]
796796async fn test_close_all_channels ( ) {
797797 let TestParams { wallet, lsp, bitcoind, third_party, .. } = build_test_nodes ( ) . await ;
798798
@@ -826,7 +826,7 @@ async fn test_close_all_channels() {
826826 assert ! ( !rebalancing) ;
827827}
828828
829- #[ tokio:: test( flavor = "multi_thread" , worker_threads = 1 ) ]
829+ #[ tokio:: test( flavor = "multi_thread" ) ]
830830async fn test_threshold_boundary_trusted_balance_limit ( ) {
831831 let TestParams { wallet, third_party, .. } = build_test_nodes ( ) . await ;
832832
@@ -902,7 +902,7 @@ async fn test_threshold_boundary_trusted_balance_limit() {
902902 ) ;
903903}
904904
905- #[ tokio:: test( flavor = "multi_thread" , worker_threads = 1 ) ]
905+ #[ tokio:: test( flavor = "multi_thread" ) ]
906906async fn test_threshold_boundary_rebalance_min ( ) {
907907 let TestParams { wallet, third_party, .. } = build_test_nodes ( ) . await ;
908908
@@ -975,7 +975,7 @@ async fn test_threshold_boundary_rebalance_min() {
975975 ) ;
976976}
977977
978- #[ tokio:: test( flavor = "multi_thread" , worker_threads = 1 ) ]
978+ #[ tokio:: test( flavor = "multi_thread" ) ]
979979async fn test_threshold_boundary_onchain_receive_threshold ( ) {
980980 let TestParams { wallet, .. } = build_test_nodes ( ) . await ;
981981
@@ -1035,7 +1035,7 @@ async fn test_threshold_boundary_onchain_receive_threshold() {
10351035 }
10361036}
10371037
1038- #[ tokio:: test( flavor = "multi_thread" , worker_threads = 1 ) ]
1038+ #[ tokio:: test( flavor = "multi_thread" ) ]
10391039async fn test_threshold_combinations_and_edge_cases ( ) {
10401040 let TestParams { wallet, .. } = build_test_nodes ( ) . await ;
10411041
@@ -1093,7 +1093,7 @@ async fn test_threshold_combinations_and_edge_cases() {
10931093 }
10941094}
10951095
1096- #[ tokio:: test( flavor = "multi_thread" , worker_threads = 1 ) ]
1096+ #[ tokio:: test( flavor = "multi_thread" ) ]
10971097async fn test_invalid_payment_instructions ( ) {
10981098 let TestParams { wallet, third_party, .. } = build_test_nodes ( ) . await ;
10991099
@@ -1154,7 +1154,7 @@ async fn test_invalid_payment_instructions() {
11541154 assert_eq ! ( txs. len( ) , 0 , "Failed payments should not be recorded in transaction list" ) ;
11551155}
11561156
1157- #[ tokio:: test( flavor = "multi_thread" , worker_threads = 1 ) ]
1157+ #[ tokio:: test( flavor = "multi_thread" ) ]
11581158async fn test_payment_with_expired_invoice ( ) {
11591159 let TestParams { wallet, third_party, .. } = build_test_nodes ( ) . await ;
11601160
@@ -1183,7 +1183,7 @@ async fn test_payment_with_expired_invoice() {
11831183 assert ! ( matches!( parse_result. unwrap_err( ) , ParseError :: InstructionsExpired ) ) ;
11841184}
11851185
1186- #[ tokio:: test( flavor = "multi_thread" , worker_threads = 1 ) ]
1186+ #[ tokio:: test( flavor = "multi_thread" ) ]
11871187async fn test_payment_network_mismatch ( ) {
11881188 let TestParams { wallet, bitcoind, .. } = build_test_nodes ( ) . await ;
11891189
@@ -1236,7 +1236,7 @@ async fn test_payment_network_mismatch() {
12361236 ) ;
12371237}
12381238
1239- #[ tokio:: test( flavor = "multi_thread" , worker_threads = 1 ) ]
1239+ #[ tokio:: test( flavor = "multi_thread" ) ]
12401240async fn test_concurrent_payments ( ) {
12411241 let TestParams { wallet, bitcoind, third_party, .. } = build_test_nodes ( ) . await ;
12421242
@@ -1408,7 +1408,7 @@ async fn test_concurrent_payments() {
14081408 ) ;
14091409}
14101410
1411- #[ tokio:: test( flavor = "multi_thread" , worker_threads = 1 ) ]
1411+ #[ tokio:: test( flavor = "multi_thread" ) ]
14121412async fn test_concurrent_receive_operations ( ) {
14131413 let TestParams { wallet, third_party, .. } = build_test_nodes ( ) . await ;
14141414
@@ -1463,7 +1463,7 @@ async fn test_concurrent_receive_operations() {
14631463 assert_eq ! ( incoming_count, 2 , "Should have exactly 2 incoming transactions" ) ;
14641464}
14651465
1466- #[ tokio:: test( flavor = "multi_thread" , worker_threads = 1 ) ]
1466+ #[ tokio:: test( flavor = "multi_thread" ) ]
14671467async fn test_balance_consistency_under_load ( ) {
14681468 let TestParams { wallet, third_party, .. } = build_test_nodes ( ) . await ;
14691469
@@ -1514,7 +1514,7 @@ async fn test_balance_consistency_under_load() {
15141514 }
15151515}
15161516
1517- #[ tokio:: test( flavor = "multi_thread" , worker_threads = 1 ) ]
1517+ #[ tokio:: test( flavor = "multi_thread" ) ]
15181518async fn test_invalid_tunables_relationships ( ) {
15191519 let TestParams { wallet, .. } = build_test_nodes ( ) . await ;
15201520
@@ -1591,7 +1591,7 @@ async fn test_invalid_tunables_relationships() {
15911591 }
15921592}
15931593
1594- #[ tokio:: test( flavor = "multi_thread" , worker_threads = 1 ) ]
1594+ #[ tokio:: test( flavor = "multi_thread" ) ]
15951595async fn test_extreme_amount_handling ( ) {
15961596 let TestParams { wallet, .. } = build_test_nodes ( ) . await ;
15971597
@@ -1656,7 +1656,7 @@ async fn test_extreme_amount_handling() {
16561656 // On-chain address depends on threshold, not msat precision
16571657}
16581658
1659- #[ tokio:: test( flavor = "multi_thread" , worker_threads = 1 ) ]
1659+ #[ tokio:: test( flavor = "multi_thread" ) ]
16601660async fn test_wallet_configuration_validation ( ) {
16611661 let TestParams { wallet, .. } = build_test_nodes ( ) . await ;
16621662
@@ -1719,7 +1719,7 @@ async fn test_wallet_configuration_validation() {
17191719 ) ;
17201720}
17211721
1722- #[ tokio:: test( flavor = "multi_thread" , worker_threads = 1 ) ]
1722+ #[ tokio:: test( flavor = "multi_thread" ) ]
17231723async fn test_edge_case_payment_instruction_parsing ( ) {
17241724 let TestParams { wallet, third_party, .. } = build_test_nodes ( ) . await ;
17251725
@@ -1769,7 +1769,7 @@ async fn test_edge_case_payment_instruction_parsing() {
17691769 }
17701770}
17711771
1772- #[ tokio:: test( flavor = "multi_thread" , worker_threads = 1 ) ]
1772+ #[ tokio:: test( flavor = "multi_thread" ) ]
17731773async fn test_lsp_connectivity_fallback ( ) {
17741774 let TestParams { wallet, lsp, bitcoind, third_party, .. } = build_test_nodes ( ) . await ;
17751775
0 commit comments