diff --git a/lotus-soup/_compositions/deals-stress-concurrent-natural-k8s.toml b/lotus-soup/_compositions/deals-stress-concurrent-natural-k8s.toml index d473b487e..18f14407f 100644 --- a/lotus-soup/_compositions/deals-stress-concurrent-natural-k8s.toml +++ b/lotus-soup/_compositions/deals-stress-concurrent-natural-k8s.toml @@ -5,7 +5,7 @@ [global] plan = "lotus-soup" case = "deals-stress" - total_instances = 9 + total_instances = 6 builder = "docker:go" runner = "cluster:k8s" @@ -22,17 +22,18 @@ registry_type="aws" [global.run.test_params] - clients = "6" + clients = "3" miners = "2" genesis_timestamp_offset = "0" - balance = "20000000" # These balances will work for maximum 100 nodes, as TotalFilecoin is 2B - sectors = "100" + balance = "90000000" # These balances will work for maximum 100 nodes, as TotalFilecoin is 2B + sectors = "10" random_beacon_type = "mock" + mining_mode = "natural" [[groups]] id = "bootstrapper" [groups.resources] - memory = "2048Mi" + memory = "512Mi" cpu = "100m" [groups.instances] count = 1 @@ -52,7 +53,6 @@ [groups.run] [groups.run.test_params] role = "miner" - mining_mode = "natural" [[groups]] id = "clients" @@ -60,10 +60,10 @@ memory = "2048Mi" cpu = "100m" [groups.instances] - count = 6 + count = 3 percentage = 0.0 [groups.run] [groups.run.test_params] role = "client" - deals = "5" + deals = "3" deal_mode = "concurrent" diff --git a/lotus-soup/deals_stress.go b/lotus-soup/deals_stress.go index f40940696..616c7c8d9 100644 --- a/lotus-soup/deals_stress.go +++ b/lotus-soup/deals_stress.go @@ -39,7 +39,7 @@ func dealsStress(t *testkit.TestEnvironment) error { t.RecordMessage("selected %s as the miner", minerAddr.MinerActorAddr) - time.Sleep(2 * time.Second) + time.Sleep(12 * time.Second) // prepare a number of concurrent data points deals := t.IntParam("deals") diff --git a/lotus-soup/testkit/deals.go b/lotus-soup/testkit/deals.go index 83fa2e77c..5bfba17da 100644 --- a/lotus-soup/testkit/deals.go +++ b/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(1000000), + EpochPrice: types.NewInt(1000), MinBlocksDuration: 640000, DealStartEpoch: 200, FastRetrieval: fastRetrieval,