test: extend timeouts within testRevokedCloseRetribution tests
This commit is contained in:
parent
b56dcc988b
commit
a93be76d16
@ -2953,7 +2953,7 @@ func testRevokedCloseRetributionZeroValueRemoteOutput(net *lntest.NetworkHarness
|
|||||||
// Query the mempool for Alice's justice transaction, this should be
|
// Query the mempool for Alice's justice transaction, this should be
|
||||||
// broadcast as Carol's contract breaching transaction gets confirmed
|
// broadcast as Carol's contract breaching transaction gets confirmed
|
||||||
// above.
|
// above.
|
||||||
justiceTXID, err := waitForTxInMempool(net.Miner.Node, 5*time.Second)
|
justiceTXID, err := waitForTxInMempool(net.Miner.Node, 15*time.Second)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatalf("unable to find Alice's justice tx in mempool: %v",
|
t.Fatalf("unable to find Alice's justice tx in mempool: %v",
|
||||||
err)
|
err)
|
||||||
@ -3171,6 +3171,7 @@ func testRevokedCloseRetributionRemoteHodl(net *lntest.NetworkHarness,
|
|||||||
|
|
||||||
// Ensure that carol's balance still shows the amount we originally
|
// Ensure that carol's balance still shows the amount we originally
|
||||||
// pushed to her, and that at least one more update has occurred.
|
// pushed to her, and that at least one more update has occurred.
|
||||||
|
time.Sleep(500 * time.Millisecond)
|
||||||
checkCarolBalance(pushAmt)
|
checkCarolBalance(pushAmt)
|
||||||
checkCarolNumUpdatesAtleast(carolStateNumPreCopy + 1)
|
checkCarolNumUpdatesAtleast(carolStateNumPreCopy + 1)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user