lnd.xprv/lntest
Wilmer Paulino 1ad4528975
lntest: use test subscription to prevent SubscribeChannelGraph race
This race was possible due to us making a subscription request before
the ChannelRouter has started. We address it by creating a dummy
subscription before proceeding to the real one to ensure we can do so
successfully. We use a dummy one in order to not consume an update from
the real one. This addresses the common "timed out waiting for opened
channel" flake within the integration test suite since the subscription
was never properly created, so we'd never be notified of when new graph
updates were received.
2019-04-25 18:53:36 -07:00
..
btcd.go lnd_test+lntest: seperate miner and chain backend 2019-01-16 10:10:22 +01:00
doc.go lntest: Add doc.go with package documentation. 2017-12-14 20:06:23 -08:00
harness.go lntest: don't return from ensureConnected on non-error 2019-04-24 09:44:15 +02:00
node.go lntest: use test subscription to prevent SubscribeChannelGraph race 2019-04-25 18:53:36 -07: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