File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -3955,15 +3955,15 @@ fn test_threaded_payment_retries() {
39553955 }
39563956 }
39573957
3958+ // We give the node some time before we process messages and check the added monitors.
3959+ std:: thread:: sleep ( Duration :: from_secs ( 1 ) ) ;
3960+
39583961 // Make sure we have some events to handle when we go around...
39593962 nodes[ 0 ] . node . get_and_clear_pending_events ( ) ;
39603963 nodes[ 0 ] . node . process_pending_htlc_forwards ( ) ;
39613964 nodes[ 0 ] . node . process_pending_htlc_forwards ( ) ;
39623965 send_msg_events = nodes[ 0 ] . node . get_and_clear_pending_msg_events ( ) ;
39633966
3964- // We give the node some time for persistence to happen, before we check the added
3965- // monitors.
3966- std:: thread:: sleep ( Duration :: from_secs ( 3 ) ) ;
39673967 check_added_monitors ! ( nodes[ 0 ] , 2 ) ;
39683968
39693969 if cur_time > end_time {
You can’t perform that action at this time.
0 commit comments