5bd84e2a60
In #5364 we added a new error path in the `StopDaemon` method to return an error if shutdown was attempted while a rescan/recover instance was in progress. Since the wallet actually won't fully stop (atm) mid-recovery, the call effectively didn't do anything in that scenario, so we started to return an error to properly reflect that. However this causes certain itests to fail, as during recovery, the stop attempt will fail leading to the test itself failing. In this commit, we wrap the calls to stop a running daemon within a `wait.NoError` call so we'll continually try to shut down the daemon rather than quit on the first try. Fixes #5423. |
||
---|---|---|
.. | ||
channels | ||
itest | ||
mock | ||
wait | ||
bitcoind_common.go | ||
bitcoind_notxindex.go | ||
bitcoind.go | ||
btcd.go | ||
doc.go | ||
fee_service_test.go | ||
fee_service.go | ||
harness.go | ||
neutrino.go | ||
node.go | ||
timeouts_darwin.go | ||
timeouts_etcd.go | ||
timeouts.go |