mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-28 22:50:58 +02:00
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:
@@ -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
|
||||
|
Reference in New Issue
Block a user