Take Download out of Sealer time

This commit is contained in:
Andrew Jackson (Ajax) 2023-08-17 22:34:08 -05:00
parent cbbb76b2f0
commit c48bf864a4

View File

@ -412,6 +412,16 @@ func TestSealPoStNoCommit(t *testing.T) {
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) {
if testing.Short() {
t.Skip("skipping test in short mode")
@ -424,8 +434,6 @@ func TestSealAndVerify3(t *testing.T) {
}
_ = os.Setenv("RUST_LOG", "trace")
getGrothParamFileAndVerifyingKeys(sectorSize)
dir, err := os.MkdirTemp("", "sbtest")
if err != nil {
t.Fatal(err)