lnd/lntest
Olaoluwa Osuntokun 2a18263336
lntest: keep all failed payments by default for HarnessNode
In this commit, we fix a detected flake: we go to make a payment, and
then want to assert that 2 attempts we required. The existing logic
assumes that the success and the payment will still be on disk. With a
recent PR, we now delete failed payments by default, but after the fact,
in a non-atomic fashion.

We fix this issue simply by having all the nodes keep around failed
payments for the sake of all the old itests that assumed this
information would always be on disk.

Introduced in: https://github.com/lightningnetwork/lnd/pull/6438.

Fixes https://github.com/lightningnetwork/lnd/issues/6711.
2022-07-07 19:28:30 -07:00
..
channels lntest/channels: introduce subpackage to deduplicate static structs 2021-01-25 14:04:39 -05:00
itest Merge pull request #6687 from guggero/sign-psbt-np2wkh 2022-06-30 12:18:12 +02:00
mock lnwallet: adds RequiredReserve method 2022-06-28 23:31:51 +05:30
wait itest: remove extra graph topology subscription 2021-09-17 07:50:42 +08:00
bitcoind.go multi: new bitcoind rpcpolling backend for itests 2022-05-11 09:02:13 +02:00
bitcoind_common.go multi: new bitcoind rpcpolling backend for itests 2022-05-11 09:02:13 +02:00
bitcoind_notxindex.go multi: new bitcoind rpcpolling backend for itests 2022-05-11 09:02:13 +02:00
bitcoind_rpcpolling.go multi: new bitcoind rpcpolling backend for itests 2022-05-11 09:02:13 +02:00
btcd.go lntest: surface bitcoin backend rpc credentials 2022-01-10 14:49:10 -05:00
doc.go lntest: Add doc.go with package documentation. 2017-12-14 20:06:23 -08:00
fee_service.go multi: fix newly detected linter issues 2022-02-10 11:02:02 +01:00
fee_service_test.go multi: fix newly detected linter issues 2022-02-10 11:02:02 +01:00
harness_miner.go itest: start using harness miner in harness net 2022-01-05 13:10:06 +08:00
harness_net.go lntest: rename sendCoins to SendCoinsOfType 2022-05-10 18:31:18 +02:00
harness_node.go lntest: keep all failed payments by default for HarnessNode 2022-07-07 19:28:30 -07:00
neutrino.go lntest: surface bitcoin backend rpc credentials 2022-01-10 14:49:10 -05:00
test_common.go lntest: export ListenerFormat constant 2022-01-06 12:57:27 +01:00
timeouts.go multi: add golang 1.17 compatible build tags 2021-09-29 17:31:37 -07:00
timeouts_darwin.go multi: add golang 1.17 compatible build tags 2021-09-29 17:31:37 -07:00
timeouts_remote_db.go multi: add golang 1.17 compatible build tags 2021-09-29 17:31:37 -07:00