mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-03-13 11:09:23 +01:00
htlcswitch/link_test: increase fwdpkg gc interval
In this commit, we increase the fwdpkg gc interval to avoid having it conflict with switch tests that inspect forwarding packages. The current timeout is a little too short on travis, and sporadically fails TestChannelLinkCleanupSpuriousResponses, which was added recently.
This commit is contained in:
parent
4f20905ac1
commit
22793e4418
1 changed files with 1 additions and 1 deletions
|
@ -1560,7 +1560,7 @@ func newSingleLinkTestHarness(chanAmt, chanReserve btcutil.Amount) (
|
|||
Registry: invoiceRegistry,
|
||||
ChainEvents: &contractcourt.ChainEventSubscription{},
|
||||
BatchTicker: bticker,
|
||||
FwdPkgGCTicker: ticker.MockNew(5 * time.Second),
|
||||
FwdPkgGCTicker: ticker.MockNew(15 * time.Second),
|
||||
// Make the BatchSize and Min/MaxFeeUpdateTimeout large enough
|
||||
// to not trigger commit updates automatically during tests.
|
||||
BatchSize: 10000,
|
||||
|
|
Loading…
Add table
Reference in a new issue