mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-19 09:53:54 +01:00
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:
parent
07c0277f3b
commit
b74c1ca822
@ -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())
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user