lnd_test: increase timeout for mempool tx

This commit is contained in:
Johan T. Halseth 2018-04-13 12:07:58 +02:00
parent c5169a79f5
commit 44f0ec9263
No known key found for this signature in database
GPG Key ID: 15BAADA29DA20D26

@ -6252,9 +6252,9 @@ func testMultHopRemoteForceCloseOnChainHtlcTimeout(net *lntest.NetworkHarness,
// Bob's sweeping transaction should now be found in the mempool at // Bob's sweeping transaction should now be found in the mempool at
// this point. // this point.
_, err = waitForTxInMempool(net.Miner.Node, time.Second*10) _, err = waitForTxInMempool(net.Miner.Node, time.Second*20)
if err != nil { if err != nil {
t.Fatalf("unable to find bob's sweeping transaction") t.Fatalf("unable to find bob's sweeping transaction: %v", err)
} }
// If we mine an additional block, then this should confirm Bob's // If we mine an additional block, then this should confirm Bob's