File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
lightning-transaction-sync/tests Expand file tree Collapse file tree 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 {
3333 let mut conf = bitcoind:: Conf :: default ( ) ;
3434 conf. network = "regtest" ;
3535 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 ) ) ;
3737 bitcoind
3838 } )
3939}
@@ -49,7 +49,7 @@ fn get_electrsd() -> &'static ElectrsD {
4949 conf. http_enabled = true ;
5050 conf. network = "regtest" ;
5151 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 ) ) ;
5353 electrsd
5454 } )
5555}
@@ -71,7 +71,7 @@ fn wait_for_block(min_height: usize) {
7171 // While subscribing should succeed the first time around, we ran into some cases where
7272 // it didn't. Since we can't proceed without subscribing, we try again after a delay
7373 // and panic if it still fails.
74- std:: thread:: sleep ( Duration :: from_secs ( 3 ) ) ;
74+ std:: thread:: sleep ( Duration :: from_secs ( 1 ) ) ;
7575 get_electrsd ( ) . client . block_headers_subscribe ( ) . expect ( "failed to subscribe to block headers" )
7676 }
7777 } ;
You can’t perform that action at this time.
0 commit comments