Merge pull request #1769 from cfromknecht/increase-fwdpkg-gc-test-interval

htlcswitch/test_utils: increase fwdpkg gc interval
This commit is contained in:
Olaoluwa Osuntokun 2018-08-24 17:01:28 -07:00 committed by GitHub
commit c41ea4818c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1560,7 +1560,7 @@ func newSingleLinkTestHarness(chanAmt, chanReserve btcutil.Amount) (
Registry: invoiceRegistry, Registry: invoiceRegistry,
ChainEvents: &contractcourt.ChainEventSubscription{}, ChainEvents: &contractcourt.ChainEventSubscription{},
BatchTicker: bticker, BatchTicker: bticker,
FwdPkgGCTicker: ticker.MockNew(5 * time.Second), FwdPkgGCTicker: ticker.MockNew(15 * time.Second),
// Make the BatchSize and Min/MaxFeeUpdateTimeout large enough // Make the BatchSize and Min/MaxFeeUpdateTimeout large enough
// to not trigger commit updates automatically during tests. // to not trigger commit updates automatically during tests.
BatchSize: 10000, BatchSize: 10000,