lnd/lntest
Elle Mouton 9a97577c00
lntest: refactor assertNumConnections
The assertNumConnection function currently takes in an 'expected' number
of connections argument and asserts that both alice and bob only each
only have that number of connections. So this fails to be useful if say
alice is also connected to charlie cause then if we call
assertNumConnections between alice and bob it will fail saying there are
2 connections between them since all it does is count alice's total
  number of connections. This commit replaces this function with 2 new
functions: assertConnected which asserts that at least one connection
exists between two peers and assertNotConnected which asserts that no
connections exists between the two peers.
2021-10-04 14:57:48 +02:00
..
channels lntest/channels: introduce subpackage to deduplicate static structs 2021-01-25 14:04:39 -05:00
itest lntest: refactor assertNumConnections 2021-10-04 14:57:48 +02:00
mock lntest/mock: set input index on spend event 2021-05-12 12:32:28 +02:00
wait itest: remove extra graph topology subscription 2021-09-17 07:50:42 +08:00
bitcoind.go multi: add golang 1.17 compatible build tags 2021-09-29 17:31:37 -07:00
bitcoind_common.go multi: add golang 1.17 compatible build tags 2021-09-29 17:31:37 -07:00
bitcoind_notxindex.go multi: add golang 1.17 compatible build tags 2021-09-29 17:31:37 -07:00
btcd.go multi: add golang 1.17 compatible build tags 2021-09-29 17:31:37 -07:00
doc.go lntest: Add doc.go with package documentation. 2017-12-14 20:06:23 -08:00
fee_service.go itest: change feeServiceTarget to be 1 2021-06-29 20:25:47 +08:00
fee_service_test.go chainfee: change min conf target to be 1 2021-06-29 20:25:46 +08:00
harness.go lntest: use errgroup for node startup 2021-09-29 17:31:32 -07:00
neutrino.go multi: add golang 1.17 compatible build tags 2021-09-29 17:31:37 -07:00
node.go postgres: add itest 2021-09-21 10:44:23 +02: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