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:
1 file changed
+1
-1
@@ -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())
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user