initialize block delay to its minimum value of 1
This commit is contained in:
parent
122926ad49
commit
19ce23e907
@ -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)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user