lntest: increase wait time to 5s when failed to close channel

This commit is contained in:
yyforyongyu 2023-03-22 16:16:27 +07:00
parent 00fa2cb34a
commit a79ab8bafd
No known key found for this signature in database
GPG Key ID: 9BCD95C4FF296868

View File

@ -1132,7 +1132,7 @@ func (h *HarnessTest) CloseChannelAssertPending(hn *node.HarnessNode,
// 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 properly fix it.
time.Sleep(2 * time.Second)
time.Sleep(5 * time.Second)
// Give it another chance.
stream = hn.RPC.CloseChannel(closeReq)