Take Download out of Sealer time
This commit is contained in:
parent
cbbb76b2f0
commit
c48bf864a4
@ -412,6 +412,16 @@ func TestSealPoStNoCommit(t *testing.T) {
|
|||||||
fmt.Printf("EPoSt: %s\n", epost.Sub(precommit).String())
|
fmt.Printf("EPoSt: %s\n", epost.Sub(precommit).String())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func TestMain(m *testing.M) {
|
||||||
|
//setup()
|
||||||
|
// Here it no-longer is bound to 30s but has 1m30s for the whole suite.
|
||||||
|
getGrothParamFileAndVerifyingKeys(sectorSize)
|
||||||
|
|
||||||
|
code := m.Run()
|
||||||
|
//shutdown()
|
||||||
|
os.Exit(code)
|
||||||
|
}
|
||||||
|
|
||||||
func TestSealAndVerify3(t *testing.T) {
|
func TestSealAndVerify3(t *testing.T) {
|
||||||
if testing.Short() {
|
if testing.Short() {
|
||||||
t.Skip("skipping test in short mode")
|
t.Skip("skipping test in short mode")
|
||||||
@ -424,8 +434,6 @@ func TestSealAndVerify3(t *testing.T) {
|
|||||||
}
|
}
|
||||||
_ = os.Setenv("RUST_LOG", "trace")
|
_ = os.Setenv("RUST_LOG", "trace")
|
||||||
|
|
||||||
getGrothParamFileAndVerifyingKeys(sectorSize)
|
|
||||||
|
|
||||||
dir, err := os.MkdirTemp("", "sbtest")
|
dir, err := os.MkdirTemp("", "sbtest")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatal(err)
|
t.Fatal(err)
|
||||||
|
Loading…
Reference in New Issue
Block a user