htlcswitch/test: increase test timeout for hodl invoice tests

This commit is contained in:
Joost Jager 2019-04-12 09:01:05 +02:00
parent dd48a36226
commit 40cea6b487
No known key found for this signature in database
GPG Key ID: A61B9D4C393C59C7

@ -5697,7 +5697,7 @@ func newHodlInvoiceTestCtx(t *testing.T) (*hodlInvoiceTestCtx, error) {
select {
case err := <-errChan:
t.Fatalf("no payment result expected: %v", err)
case <-time.After(time.Second):
case <-time.After(5 * time.Second):
t.Fatal("timeout")
case h := <-receiver.registry.settleChan:
if hash != h {