lnd_test: bump timeout for darwin builds

This commit is contained in:
Conner Fromknecht 2019-04-11 16:26:11 -07:00
parent f9a08044dc
commit fd80866627
No known key found for this signature in database
GPG Key ID: E7D737B67FA592C7

@ -9081,16 +9081,15 @@ func testBidirectionalAsyncPayments(net *lntest.NetworkHarness, t *harnessTest)
// Wait for Alice and Bob receive their payments, and throw and error // Wait for Alice and Bob receive their payments, and throw and error
// if something goes wrong. // if something goes wrong.
maxTime := 60 * time.Second
for i := 0; i < 2; i++ { for i := 0; i < 2; i++ {
select { select {
case err := <-errChan: case err := <-errChan:
if err != nil { if err != nil {
t.Fatalf(err.Error()) t.Fatalf(err.Error())
} }
case <-time.After(maxTime): case <-time.After(lntest.AsyncBenchmarkTimeout):
t.Fatalf("waiting for payments to finish too long "+ t.Fatalf("waiting for payments to finish too long "+
"(%v)", maxTime) "(%v)", lntest.AsyncBenchmarkTimeout)
} }
} }