lnd/lntest
yyforyongyu 104b7a09db
itest: fix inheritance when creating timeout ctxt
This commit fixes the issue where a wrong context being inherited to
create a timeout context. When a parent context timed out, all its
children contexts also timed out, even the children contexts had a
larger timeout value. This means it only makes sense to inherite from a
parent when its children have smaller timeout value. Given the setup of
the itest, all the timeout contexts need to be created from a context
background(hence no timeout on the parent) unless there's an explicit
timeout bound we want to set.
2021-08-24 12:28:40 +08:00
..
channels lntest/channels: introduce subpackage to deduplicate static structs 2021-01-25 14:04:39 -05:00
itest itest: fix inheritance when creating timeout ctxt 2021-08-24 12:28:40 +08:00
mock lntest/mock: set input index on spend event 2021-05-12 12:32:28 +02:00
wait lntest: go easy on goroutines when polling 2020-12-08 21:37:11 +01:00
bitcoind_common.go itest: basic failover itest when using leader election on etcd 2021-05-04 17:33:12 +02:00
bitcoind_notxindex.go lntest: add build flag for disabling txindex on bitcoind 2020-10-09 13:35:04 +02:00
bitcoind.go lntest: add build flag for disabling txindex on bitcoind 2020-10-09 13:35:04 +02:00
btcd.go build: update btcd and btcwallet dependencies 2021-04-05 15:41:04 -07:00
doc.go lntest: Add doc.go with package documentation. 2017-12-14 20:06:23 -08:00
fee_service_test.go chainfee: change min conf target to be 1 2021-06-29 20:25:46 +08:00
fee_service.go itest: change feeServiceTarget to be 1 2021-06-29 20:25:47 +08:00
harness.go itest: fix inheritance when creating timeout ctxt 2021-08-24 12:28:40 +08:00
neutrino.go lntest: decrease broadcast timeout for neutrino-backed integration tests 2021-04-29 13:56:19 -07:00
node.go docs: fix inconsistent naming of channel.backup [skip ci] 2021-08-12 00:26:53 +02:00
timeouts_darwin.go lntest/timeouts: fix darwin+kvdb_etcd build 2020-11-18 15:28:39 -08:00
timeouts_etcd.go lntest/timeouts: fix darwin+kvdb_etcd build 2020-11-18 15:28:39 -08:00
timeouts.go lntest/timeouts: remove spaces from build predicates 2020-11-18 15:16:25 -08:00