From 425b2c712fd961d4bdbb3b9b87a5dad4ecaa4bfd Mon Sep 17 00:00:00 2001 From: Conner Fromknecht Date: Tue, 7 Apr 2020 11:52:50 -0700 Subject: [PATCH] htlcswitch/switch_test: increase checkHtlcEvents timeout This flakes locally for me on darwin. --- htlcswitch/switch_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htlcswitch/switch_test.go b/htlcswitch/switch_test.go index bcd98dcf..d92a0bf3 100644 --- a/htlcswitch/switch_test.go +++ b/htlcswitch/switch_test.go @@ -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) } }