Merge pull request #7469 from yyforyongyu/fix-itest-network-timeout

itest: use unreachable URL in `testNetworkConnectionTimeout`
This commit is contained in:
Oliver Gugger 2023-03-02 09:15:04 +01:00 committed by GitHub
commit 1136643917
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,9 +22,9 @@ func testNetworkConnectionTimeout(ht *lntest.HarnessTest) {
testPub = "0332bda7da70fefe4b6ab92f53b3c4f4ee7999" +
"f312284a8e89c8670bb3f67dbee2"
// testHost is a non-routable IP address. It's used to cause a
// connection timeout.
testHost = "10.255.255.255"
// testHost is a reachable IP address with an unreachable port
// that's used for testing only.
testHost = "lightning.engineering:81"
)
// First, test the global timeout settings.