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() {
3955
3955
}
3956
3956
}
3957
3957
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
+
3958
3961
// Make sure we have some events to handle when we go around...
3959
3962
nodes[ 0 ] . node . get_and_clear_pending_events ( ) ;
3960
3963
nodes[ 0 ] . node . process_pending_htlc_forwards ( ) ;
3961
3964
nodes[ 0 ] . node . process_pending_htlc_forwards ( ) ;
3962
3965
send_msg_events = nodes[ 0 ] . node . get_and_clear_pending_msg_events ( ) ;
3963
3966
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 ) ) ;
3967
3967
check_added_monitors ! ( nodes[ 0 ] , 2 ) ;
3968
3968
3969
3969
if cur_time > end_time {
You can’t perform that action at this time.
0 commit comments