Skip to content

Commit

Permalink
Merge pull request #2944 from joostjager/increase-test-timeout
Browse files Browse the repository at this point in the history
htlcswitch/test: increase test timeout for hodl invoice tests
  • Loading branch information
joostjager committed Apr 12, 2019
2 parents dd48a36 + 40cea6b commit 2b43da4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htlcswitch/link_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 2b43da4

Please sign in to comment.