test: extend timeouts for WaitPredicate on new integration tests

This commit is contained in:
Olaoluwa Osuntokun 2018-01-22 20:37:22 -08:00
parent 968e3e953e
commit 99cc4be448
No known key found for this signature in database
GPG Key ID: 964EA263DD637C21

@ -1448,7 +1448,7 @@ func testChannelForceClosure(net *lntest.NetworkHarness, t *harnessTest) {
nodes := []*lntest.HarnessNode{net.Alice, carol}
err = lntest.WaitPredicate(func() bool {
return assertNumActiveHtlcs(nodes, numInvoices)
}, time.Second*5)
}, time.Second*15)
if err != nil {
t.Fatalf("htlc mismatch: %v", err)
}
@ -6089,7 +6089,7 @@ func testMultiHopHtlcLocalChainClaim(net *lntest.NetworkHarness, t *harnessTest)
}
return true
}, time.Second*5)
}, time.Second*15)
if err != nil {
t.Fatalf(predErr.Error())
}