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 committed 2021-05-20 09:50:14 +02:00
1 parent 07c0277f3b
commit b74c1ca822
1 file changed
+1 -1
+1 -1
View File
@@ -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())
}