itest+lntest: add a dedicated timeout for sending payments
This commit adds a new timeout `PaymentTimeout` that's used when sending payments. A potential bug is also marked in the test.
This commit is contained in:
7 files changed
+27
-7
No files matched your search
@@ -33,4 +33,7 @@ const (
|
||||
// SqliteBusyTimeout is the maximum time that a call to the sqlite db
|
||||
// will wait for the connection to become available.
|
||||
SqliteBusyTimeout = time.Second * 10
|
||||
|
||||
// PaymentTimeout is the timeout used when sending payments.
|
||||
PaymentTimeout = time.Second * 60
|
||||
)
|
||||
@@ -34,4 +34,7 @@ const (
|
||||
// SqliteBusyTimeout is the maximum time that a call to the sqlite db
|
||||
// will wait for the connection to become available.
|
||||
SqliteBusyTimeout = time.Second * 10
|
||||
|
||||
// PaymentTimeout is the timeout used when sending payments.
|
||||
PaymentTimeout = time.Second * 60
|
||||
)
|
||||
@@ -33,4 +33,7 @@ const (
|
||||
// SqliteBusyTimeout is the maximum time that a call to the sqlite db
|
||||
// will wait for the connection to become available.
|
||||
SqliteBusyTimeout = time.Second * 10
|
||||
|
||||
// PaymentTimeout is the timeout used when sending payments.
|
||||
PaymentTimeout = time.Second * 60
|
||||
)
|
||||
Reference in new issue
Block a user