From b74c1ca822a44f894e4007219e3ddc1fdf9d8a2a Mon Sep 17 00:00:00 2001 From: "Johan T. Halseth" Date: Thu, 20 May 2021 09:50:12 +0200 Subject: [PATCH] breach tests: increase cleanup timeout 1 second was not always enough for the breacharbiter to cleanup, especially in case of the more complex split sweep. --- breacharbiter_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/breacharbiter_test.go b/breacharbiter_test.go index 68de9661..91be814b 100644 --- a/breacharbiter_test.go +++ b/breacharbiter_test.go @@ -2089,7 +2089,7 @@ func assertBrarCleanup(t *testing.T, brar *breachArbiter, return fmt.Errorf("channel %v not closed", chanPoint) - }, time.Second) + }, 5*time.Second) if err != nil { t.Fatalf(err.Error()) }