File tree 1 file changed +3
-3
lines changed
lightning-transaction-sync/tests
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ fn get_bitcoind() -> &'static BitcoinD {
33
33
let mut conf = bitcoind:: Conf :: default ( ) ;
34
34
conf. network = "regtest" ;
35
35
let bitcoind = BitcoinD :: with_conf ( bitcoind_exe, & conf) . unwrap ( ) ;
36
- std:: thread:: sleep ( Duration :: from_secs ( 3 ) ) ;
36
+ std:: thread:: sleep ( Duration :: from_secs ( 1 ) ) ;
37
37
bitcoind
38
38
} )
39
39
}
@@ -49,7 +49,7 @@ fn get_electrsd() -> &'static ElectrsD {
49
49
conf. http_enabled = true ;
50
50
conf. network = "regtest" ;
51
51
let electrsd = ElectrsD :: with_conf ( electrs_exe, & bitcoind, & conf) . unwrap ( ) ;
52
- std:: thread:: sleep ( Duration :: from_secs ( 3 ) ) ;
52
+ std:: thread:: sleep ( Duration :: from_secs ( 1 ) ) ;
53
53
electrsd
54
54
} )
55
55
}
@@ -71,7 +71,7 @@ fn wait_for_block(min_height: usize) {
71
71
// While subscribing should succeed the first time around, we ran into some cases where
72
72
// it didn't. Since we can't proceed without subscribing, we try again after a delay
73
73
// and panic if it still fails.
74
- std:: thread:: sleep ( Duration :: from_secs ( 3 ) ) ;
74
+ std:: thread:: sleep ( Duration :: from_secs ( 1 ) ) ;
75
75
get_electrsd ( ) . client . block_headers_subscribe ( ) . expect ( "failed to subscribe to block headers" )
76
76
}
77
77
} ;
You can’t perform that action at this time.
0 commit comments