From 3f2675f10d25433833788baef6e42601960c6b5f Mon Sep 17 00:00:00 2001 From: yyforyongyu Date: Thu, 4 May 2023 19:11:03 +0800 Subject: [PATCH] itest: remove potential parallel usage of the watchtower default port --- itest/list_on_test.go | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/itest/list_on_test.go b/itest/list_on_test.go index 0de448027..04eebd383 100644 --- a/itest/list_on_test.go +++ b/itest/list_on_test.go @@ -310,11 +310,6 @@ var allTestCases = []*lntest.TestCase{ Name: "revoked uncooperative close retribution remote hodl", TestFunc: testRevokedCloseRetributionRemoteHodl, }, - { - Name: "revoked uncooperative close retribution altruist " + - "watchtower", - TestFunc: testRevokedCloseRetributionAltruistWatchtower, - }, { Name: "single-hop send to route", TestFunc: testSingleHopSendToRoute, @@ -519,6 +514,14 @@ var allTestCases = []*lntest.TestCase{ Name: "watchtower session management", TestFunc: testWatchtowerSessionManagement, }, + { + // NOTE: this test must be put in the same tranche as + // `testWatchtowerSessionManagement` to avoid parallel use of + // the default watchtower port. + Name: "revoked uncooperative close retribution altruist " + + "watchtower", + TestFunc: testRevokedCloseRetributionAltruistWatchtower, + }, { Name: "channel fundmax", TestFunc: testChannelFundMax,