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.
This commit is contained in:
Johan T. Halseth 2021-05-20 09:50:12 +02:00
parent 07c0277f3b
commit b74c1ca822
No known key found for this signature in database
GPG Key ID: 15BAADA29DA20D26

@ -2089,7 +2089,7 @@ func assertBrarCleanup(t *testing.T, brar *breachArbiter,
return fmt.Errorf("channel %v not closed", chanPoint) return fmt.Errorf("channel %v not closed", chanPoint)
}, time.Second) }, 5*time.Second)
if err != nil { if err != nil {
t.Fatalf(err.Error()) t.Fatalf(err.Error())
} }