htlcswitch/switch_test: increase checkHtlcEvents timeout

This flakes locally for me on darwin.
This commit is contained in:
Conner Fromknecht 2020-04-07 11:52:50 -07:00
parent e52c5df8ab
commit 425b2c712f
No known key found for this signature in database
GPG Key ID: E7D737B67FA592C7

View File

@ -2903,7 +2903,7 @@ func checkHtlcEvents(t *testing.T, events <-chan interface{},
event)
}
case <-time.After(time.Second):
case <-time.After(5 * time.Second):
t.Fatalf("expected event: %v", expected)
}
}