itest: remove unnecessary channel close and node shutdown

Since we don't have standby nodes anymore, we don't need to close the
channels when the test finishes. Previously we would do so to make sure
the standby nodes have a clean state for the next test case, which is no
longer relevant.
This commit is contained in:
yyforyongyu
2024-10-29 16:48:23 +08:00
parent 00772ae281
commit 72f3f41d41
33 changed files with 47 additions and 447 deletions

View File

@@ -29,11 +29,10 @@ func testCustomFeatures(ht *lntest.HarnessTest) {
}
cfgs := [][]string{extraArgs, nil}
chanPoints, nodes := ht.CreateSimpleNetwork(
_, nodes := ht.CreateSimpleNetwork(
cfgs, lntest.OpenChannelParams{Amt: 1000000},
)
alice, bob := nodes[0], nodes[1]
chanPoint := chanPoints[0]
// Check that Alice's custom feature bit was sent to Bob in her init
// message.
@@ -79,8 +78,6 @@ func testCustomFeatures(ht *lntest.HarnessTest) {
},
}
alice.RPC.UpdateNodeAnnouncementErr(nodeAnnReq)
ht.CloseChannel(alice, chanPoint)
}
// assertFeatureNotInSet checks that the features provided aren't contained in