itest+lntest: remove temporary hacks around broken coop close in itests
This commit is contained in:
1 parent
9e58ebd0fb
commit
07277172f8
6 files changed
+9
-84
No files matched your search
@@ -865,15 +865,6 @@ func testOptionScidUpgrade(ht *lntest.HarnessTest) {
|
||||
daveInvoice2 := dave.RPC.AddInvoice(daveParams)
|
||||
ht.CompletePaymentRequests(bob, []string{daveInvoice2.PaymentRequest})
|
||||
|
||||
// TODO(yy): remove the sleep once the following bug is fixed. When
|
||||
// the payment is reported as settled by Bob, it's expected the
|
||||
// commitment dance is finished and all subsequent states have been
|
||||
// updated. Yet we'd receive the error `cannot co-op close channel with
|
||||
// active htlcs` or `link failed to shutdown` if we close the channel.
|
||||
// We need to investigate the order of settling the payments and
|
||||
// updating commitments to understand and fix.
|
||||
time.Sleep(2 * time.Second)
|
||||
|
||||
// Close standby node's channels.
|
||||
ht.CloseChannel(bob, fundingPoint2)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user