htlcswitch/test: increase test timeout for hodl invoice tests
This commit is contained in:
parent
dd48a36226
commit
40cea6b487
@ -5697,7 +5697,7 @@ func newHodlInvoiceTestCtx(t *testing.T) (*hodlInvoiceTestCtx, error) {
|
|||||||
select {
|
select {
|
||||||
case err := <-errChan:
|
case err := <-errChan:
|
||||||
t.Fatalf("no payment result expected: %v", err)
|
t.Fatalf("no payment result expected: %v", err)
|
||||||
case <-time.After(time.Second):
|
case <-time.After(5 * time.Second):
|
||||||
t.Fatal("timeout")
|
t.Fatal("timeout")
|
||||||
case h := <-receiver.registry.settleChan:
|
case h := <-receiver.registry.settleChan:
|
||||||
if hash != h {
|
if hash != h {
|
||||||
|
Loading…
Reference in New Issue
Block a user