lnd.xprv/lntest
Johan T. Halseth 08803e2e41
lnd_test: fix race condition on simultanous force closes
This fixes an issue that would lead to a flake during intergration
tests. Carol would start up with a outdated state and attempt to force
close the channel. At the same time she would connect to Dave,
triggering the dataloss protection. Dave would respond by force closing
the channel, and Dave transaction would in some cases have a higher fee,
resulting Carol's tx being replaced.

We fix this by suspending Dave until Carol's close tx is mined.
2019-11-21 13:43:29 +01:00
..
itest lnd_test: fix race condition on simultanous force closes 2019-11-21 13:43:29 +01:00
wait multi: move WaitPredicate, WaitNoError, WaitInvariant to lntest/wait 2019-09-19 12:46:29 -07:00
bitcoind.go lntest/bitcoind: set debug loglevel 2019-09-02 09:37:41 +02:00
btcd.go lntest: compile time check btcd and neutrino BackendCfg interface 2019-09-02 09:37:37 +02:00
doc.go lntest: Add doc.go with package documentation. 2017-12-14 20:06:23 -08:00
harness.go server+lntest: extract ErrServerNotActive error 2019-10-23 17:37:15 -04:00
neutrino.go lntest: compile time check btcd and neutrino BackendCfg interface 2019-09-02 09:37:37 +02:00
node.go lntest: allow client to connect with specific macaroon 2019-11-13 15:29:00 +01:00
timeouts_darwin.go lntest/timeouts: split into darwin and non-darwin timeouts 2019-03-27 19:00:39 -07:00
timeouts.go lntest/timeouts: split into darwin and non-darwin timeouts 2019-03-27 19:00:39 -07:00