mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-02-23 06:35:07 +01:00
lnd_test: define global test timeouts
In preparation for the added propagation delay by separating the miner and the chain backend, we increase several timeouts throughout the test, and extract them into constants that can easily be altered.
This commit is contained in:
parent
9b6055764a
commit
3bb9b398e5
1 changed files with 6 additions and 1 deletions
|
@ -43,7 +43,12 @@ var (
|
|||
)
|
||||
|
||||
const (
|
||||
testFeeBase = 1e+6
|
||||
testFeeBase = 1e+6
|
||||
defaultCSV = lntest.DefaultCSV
|
||||
defaultTimeout = lntest.DefaultTimeout
|
||||
minerMempoolTimeout = lntest.MinerMempoolTimeout
|
||||
channelOpenTimeout = lntest.ChannelOpenTimeout
|
||||
channelCloseTimeout = lntest.ChannelCloseTimeout
|
||||
)
|
||||
|
||||
// harnessTest wraps a regular testing.T providing enhanced error detection
|
||||
|
|
Loading…
Add table
Reference in a new issue