initialize block delay to its minimum value of 1

This commit is contained in:
vyzo 2020-07-02 18:44:13 +03:00
parent 122926ad49
commit 19ce23e907

View File

@ -4,6 +4,8 @@ import (
"github.com/testground/sdk-go/run" "github.com/testground/sdk-go/run"
"github.com/filecoin-project/oni/lotus-soup/testkit" "github.com/filecoin-project/oni/lotus-soup/testkit"
"github.com/filecoin-project/lotus/build"
) )
var cases = map[string]interface{}{ var cases = map[string]interface{}{
@ -12,6 +14,10 @@ var cases = map[string]interface{}{
"drand-halting": testkit.WrapTestEnvironment(dealsE2E), "drand-halting": testkit.WrapTestEnvironment(dealsE2E),
} }
func init() {
build.BlockDelaySecs = 1
}
func main() { func main() {
run.InvokeMap(cases) run.InvokeMap(cases)
} }