lnd/lntest/wait
Elle Mouton de961af5c6
lntest/wait: handle the case where the pred func hangs
This commit fixes a bug in the wait.NoError function. If the predicate
function, f, passed to the NoError function would hang for the full
timeout, then the `predErr` would remain nil and so a nil error would be
returned from the function. This commit handles that case.
2023-03-06 13:10:43 +02:00
..
timeouts_darwin.go itest+lntest: add a dedicated timeout for sending payments 2023-02-23 21:56:11 +08:00
timeouts_remote_db.go itest+lntest: add a dedicated timeout for sending payments 2023-02-23 21:56:11 +08:00
timeouts.go itest+lntest: add a dedicated timeout for sending payments 2023-02-23 21:56:11 +08:00
wait.go lntest/wait: handle the case where the pred func hangs 2023-03-06 13:10:43 +02:00