mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-06-13 18:31:51 +02:00
lntest: increase wait time to 5s when failed to close channel
This commit is contained in:
parent
00fa2cb34a
commit
a79ab8bafd
@ -1132,7 +1132,7 @@ func (h *HarnessTest) CloseChannelAssertPending(hn *node.HarnessNode,
|
|||||||
// active htlcs` or `link failed to shutdown` if we close the
|
// active htlcs` or `link failed to shutdown` if we close the
|
||||||
// channel. We need to investigate the order of settling the
|
// channel. We need to investigate the order of settling the
|
||||||
// payments and updating commitments to properly fix it.
|
// payments and updating commitments to properly fix it.
|
||||||
time.Sleep(2 * time.Second)
|
time.Sleep(5 * time.Second)
|
||||||
|
|
||||||
// Give it another chance.
|
// Give it another chance.
|
||||||
stream = hn.RPC.CloseChannel(closeReq)
|
stream = hn.RPC.CloseChannel(closeReq)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user