diff --git a/testplans/docker-images/Dockerfile.oni-runtime b/testplans/docker-images/Dockerfile.oni-runtime index 5ee460408..265c411f6 100644 --- a/testplans/docker-images/Dockerfile.oni-runtime +++ b/testplans/docker-images/Dockerfile.oni-runtime @@ -10,7 +10,7 @@ FROM golang:${GO_VERSION}-buster as downloader RUN go get github.com/filecoin-project/go-paramfetch/paramfetch COPY /proof-parameters.json / -RUN paramfetch 2048 /proof-parameters.json +RUN paramfetch 8388608 /proof-parameters.json FROM ubuntu:18.04 diff --git a/testplans/lotus-soup/deals_e2e.go b/testplans/lotus-soup/deals_e2e.go index c556ec185..ee7b2c9e8 100644 --- a/testplans/lotus-soup/deals_e2e.go +++ b/testplans/lotus-soup/deals_e2e.go @@ -78,7 +78,7 @@ func dealsE2E(t *testkit.TestEnvironment) error { time.Sleep(50 * time.Second) // generate 1600 bytes of random data - data := make([]byte, 1600) + data := make([]byte, 5000000) rand.New(rand.NewSource(time.Now().UnixNano())).Read(data) file, err := ioutil.TempFile("/tmp", "data") diff --git a/testplans/lotus-soup/init.go b/testplans/lotus-soup/init.go index 113e6c099..18817fa6b 100644 --- a/testplans/lotus-soup/init.go +++ b/testplans/lotus-soup/init.go @@ -39,7 +39,9 @@ func init() { policy.SetPreCommitChallengeDelay(abi.ChainEpoch(10)) policy.SetConsensusMinerMinPower(abi.NewTokenAmount(2048)) - policy.SetSupportedProofTypes(abi.RegisteredSealProof_StackedDrg2KiBV1) + //policy.SetSupportedProofTypes(abi.RegisteredSealProof_StackedDrg2KiBV1) + policy.SetSupportedProofTypes(abi.RegisteredSealProof_StackedDrg8MiBV1) + policy.SetMinVerifiedDealSize(abi.NewTokenAmount(256)) // Disable upgrades. diff --git a/testplans/lotus-soup/manifest.toml b/testplans/lotus-soup/manifest.toml index 08b22f7b9..8010bace6 100644 --- a/testplans/lotus-soup/manifest.toml +++ b/testplans/lotus-soup/manifest.toml @@ -10,7 +10,7 @@ enabled = true [builders."docker:go"] enabled = true build_base_image = "iptestground/oni-buildbase:v12-lotus" -runtime_image = "iptestground/oni-runtime:v6" +runtime_image = "iptestground/oni-runtime:v5-8mib" [runners."local:exec"] enabled = true diff --git a/testplans/lotus-soup/testkit/deals.go b/testplans/lotus-soup/testkit/deals.go index 5bfba17da..0696af8a2 100644 --- a/testplans/lotus-soup/testkit/deals.go +++ b/testplans/lotus-soup/testkit/deals.go @@ -27,7 +27,7 @@ func StartDeal(ctx context.Context, minerActorAddr address.Address, client api.F }, Wallet: addr, Miner: minerActorAddr, - EpochPrice: types.NewInt(1000), + EpochPrice: types.NewInt(4000000), MinBlocksDuration: 640000, DealStartEpoch: 200, FastRetrieval: fastRetrieval, diff --git a/testplans/lotus-soup/testkit/role_miner.go b/testplans/lotus-soup/testkit/role_miner.go index a4668ac0e..372413015 100644 --- a/testplans/lotus-soup/testkit/role_miner.go +++ b/testplans/lotus-soup/testkit/role_miner.go @@ -108,7 +108,7 @@ func PrepareMiner(t *TestEnvironment) (*LotusMiner, error) { } sectors := t.IntParam("sectors") - genMiner, _, err := seed.PreSeal(minerAddr, abi.RegisteredSealProof_StackedDrg2KiBV1, 0, sectors, presealDir, []byte("TODO: randomize this"), &walletKey.KeyInfo, false) + genMiner, _, err := seed.PreSeal(minerAddr, abi.RegisteredSealProof_StackedDrg8MiBV1, 0, sectors, presealDir, []byte("TODO: randomize this"), &walletKey.KeyInfo, false) if err != nil { return nil, err } @@ -125,10 +125,10 @@ func PrepareMiner(t *TestEnvironment) (*LotusMiner, error) { return nil, err } - if t.GroupSeq != 1 { - fmt.Println("sleeping for 11sec.") - time.Sleep(11 * time.Second) - } + //if t.GroupSeq != 1 { + //fmt.Println("sleeping for 11sec.") + //time.Sleep(11 * time.Second) + //} // prepare the repo minerRepoDir, err := ioutil.TempDir("", "miner-repo-dir")