Skip to content

Commit

Permalink
Merge pull request #11182 from filecoin-project/TestSealerDLBefore
Browse files Browse the repository at this point in the history
Take Download out of Sealer time
  • Loading branch information
magik6k authored Aug 25, 2023
2 parents 1c9344d + c48bf86 commit bce5535
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions storage/sealer/ffiwrapper/sealer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand All @@ -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)
Expand Down

0 comments on commit bce5535

Please sign in to comment.