lntest: change wait timeout values

This commit is contained in:
yyforyongyu committed 2023-02-23 21:56:10 +08:00
1 parent 2bc6aabf96
commit 0e8a525f94
3 files changed
+7 -7

No files matched your search

+2 -2
View File
@@ -24,11 +24,11 @@ const (
// AsyncBenchmarkTimeout is the timeout used when running the async // AsyncBenchmarkTimeout is the timeout used when running the async
// payments benchmark. // payments benchmark.
AsyncBenchmarkTimeout = 2 * time.Minute AsyncBenchmarkTimeout = time.Minute * 2
// NodeStartTimeout is the timeout value when waiting for a node to // NodeStartTimeout is the timeout value when waiting for a node to
// become fully started. // become fully started.
NodeStartTimeout = time.Second * 120 NodeStartTimeout = time.Minute * 2
// SqliteBusyTimeout is the maximum time that a call to the sqlite db // SqliteBusyTimeout is the maximum time that a call to the sqlite db
// will wait for the connection to become available. // will wait for the connection to become available.
+2 -2
View File
@@ -16,7 +16,7 @@ const (
// ChannelCloseTimeout is the max time we will wait before a channel is // ChannelCloseTimeout is the max time we will wait before a channel is
// considered closed. // considered closed.
ChannelCloseTimeout = time.Second * 30 ChannelCloseTimeout = time.Second * 60
// DefaultTimeout is a timeout that will be used for various wait // DefaultTimeout is a timeout that will be used for various wait
// scenarios where no custom timeout value is defined. // scenarios where no custom timeout value is defined.
@@ -29,7 +29,7 @@ const (
// NodeStartTimeout is the timeout value when waiting for a node to // NodeStartTimeout is the timeout value when waiting for a node to
// become fully started. // become fully started.
NodeStartTimeout = time.Second * 120 NodeStartTimeout = time.Minute * 2
// SqliteBusyTimeout is the maximum time that a call to the sqlite db // SqliteBusyTimeout is the maximum time that a call to the sqlite db
// will wait for the connection to become available. // will wait for the connection to become available.
+3 -3
View File
@@ -16,7 +16,7 @@ const (
// ChannelCloseTimeout is the max time we will wait before a channel is // ChannelCloseTimeout is the max time we will wait before a channel is
// considered closed. // considered closed.
ChannelCloseTimeout = time.Second * 120 ChannelCloseTimeout = time.Second * 30
// DefaultTimeout is a timeout that will be used for various wait // DefaultTimeout is a timeout that will be used for various wait
// scenarios where no custom timeout value is defined. // scenarios where no custom timeout value is defined.
@@ -24,11 +24,11 @@ const (
// AsyncBenchmarkTimeout is the timeout used when running the async // AsyncBenchmarkTimeout is the timeout used when running the async
// payments benchmark. // payments benchmark.
AsyncBenchmarkTimeout = 3 * time.Minute AsyncBenchmarkTimeout = time.Minute * 2
// NodeStartTimeout is the timeout value when waiting for a node to // NodeStartTimeout is the timeout value when waiting for a node to
// become fully started. // become fully started.
NodeStartTimeout = time.Second * 120 NodeStartTimeout = time.Minute * 2
// SqliteBusyTimeout is the maximum time that a call to the sqlite db // SqliteBusyTimeout is the maximum time that a call to the sqlite db
// will wait for the connection to become available. // will wait for the connection to become available.