Browse Source

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.
master
Johan T. Halseth 3 years ago
parent
commit
b74c1ca822
No known key found for this signature in database
GPG Key ID: 15BAADA29DA20D26
  1. 2
      breacharbiter_test.go

2
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())
}

Loading…
Cancel
Save