Merge pull request #11182 from filecoin-project/TestSealerDLBefore

Take Download out of Sealer time
This commit is contained in:
Łukasz Magiera 2023-08-25 10:27:42 +02:00 committed by GitHub
commit bce5535679
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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)