From e8d9643f3a727e887d3f25438ccefb5a6fd6fb6c Mon Sep 17 00:00:00 2001 From: yyforyongyu Date: Tue, 25 Aug 2020 12:54:55 +0800 Subject: [PATCH] itest: test for connection timeout --- lntest/itest/lnd_test.go | 4 + lntest/itest/log_error_whitelist.txt | 6 ++ lntest/itest/network.go | 125 +++++++++++++++++++++++++++ 3 files changed, 135 insertions(+) create mode 100644 lntest/itest/network.go diff --git a/lntest/itest/lnd_test.go b/lntest/itest/lnd_test.go index b5a532a8..c3071b28 100644 --- a/lntest/itest/lnd_test.go +++ b/lntest/itest/lnd_test.go @@ -14378,6 +14378,10 @@ var testsCases = []*testCase{ name: "maximum channel size", test: testMaxChannelSize, }, + { + name: "connection timeout", + test: testNetworkConnectionTimeout, + }, } // TestLightningNetworkDaemon performs a series of integration tests amongst a diff --git a/lntest/itest/log_error_whitelist.txt b/lntest/itest/log_error_whitelist.txt index 86717c7e..d7951280 100644 --- a/lntest/itest/log_error_whitelist.txt +++ b/lntest/itest/log_error_whitelist.txt @@ -221,3 +221,9 @@