From 6bb7b00a801f4d7bf6cf15607991a4956cda0f37 Mon Sep 17 00:00:00 2001 From: Wilmer Paulino Date: Wed, 28 Apr 2021 16:17:11 -0700 Subject: [PATCH] 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. --- lntest/neutrino.go | 1 + 1 file changed, 1 insertion(+) diff --git a/lntest/neutrino.go b/lntest/neutrino.go index fe2a2a0b..f16b3e15 100644 --- a/lntest/neutrino.go +++ b/lntest/neutrino.go @@ -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 }