lntest: decrease broadcast timeout for neutrino-backed integration tests

Since we don't have to worry about network latency within our
integration tests, we can shorten the broadcast timeout for neutrino
integration tests from 5s to 1s.
This commit is contained in:
Wilmer Paulino 2021-04-28 16:17:11 -07:00
parent 2084cb0ad5
commit 6bb7b00a80
No known key found for this signature in database
GPG Key ID: 6DF57B9F9514972F

@ -27,6 +27,7 @@ func (b NeutrinoBackendConfig) GenArgs() []string {
// We enable validating channels so that we can obtain the outpoint for
// channels within the graph and make certain assertions based on them.
args = append(args, "--neutrino.validatechannels")
args = append(args, "--neutrino.broadcasttimeout=1s")
return args
}