lnd.xprv/lntest/itest
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
..
lnd_multi-hop_htlc_local_chain_claim_test.go multi: move WaitPredicate, WaitNoError, WaitInvariant to lntest/wait 2019-09-19 12:46:29 -07:00
lnd_multi-hop_htlc_receiver_chain_claim_test.go multi: move WaitPredicate, WaitNoError, WaitInvariant to lntest/wait 2019-09-19 12:46:29 -07:00
lnd_multi-hop_htlc_remote_chain_claim_test.go multi: move WaitPredicate, WaitNoError, WaitInvariant to lntest/wait 2019-09-19 12:46:29 -07:00
lnd_test.go lnd_test: fix race condition on simultanous force closes 2019-11-21 13:43:29 +01:00
macaroons.go lnd_test: add integration test for macaroon authentication 2019-11-14 16:34:52 +01:00
onchain.go multi: move WaitPredicate, WaitNoError, WaitInvariant to lntest/wait 2019-09-19 12:46:29 -07:00