448bbf3710
* test plan scaffolding * generify the testplan role dispatch * manifest.toml * initial go.mod and go.sum * correct name * gomod: update from build * node construction in scaffolding * fix test runner return type * remove offending comments * add initial composition, and fix context bug * debug lines * check errors from node construction * specify Repo after Online option * add power/proof type initialization code * fix baseline composition * use new docker-images (build/run) introduced in the #48 PR * upgrade go-sdk to master (#51) * fix types for run.InvokeMap * fix miner actor sequence address * explictly specify listen address for nodes on the data network * make a separate full node for the miner * initialize the wallet for the full node before creating the storage node * go mod tidy * also set the listen address for the miner node * circleci to build the soup testplan * extract topics * test runner: pass the role map to doRun for generic runner * use a wrapper TestEnvironment to encapsulate the runenv and initCtx * embed RunEnv and InitContext into TestEnvironment for better ergonomics * remove empty import * extract stateReady Co-authored-by: Anton Evangelatov <anton.evangelatov@gmail.com>
59 lines
1.0 KiB
TOML
59 lines
1.0 KiB
TOML
[metadata]
|
|
name = "lotus-soup"
|
|
author = ""
|
|
|
|
[global]
|
|
plan = "lotus-soup"
|
|
case = "lotus-baseline"
|
|
total_instances = 3
|
|
builder = "docker:go"
|
|
runner = "local:docker"
|
|
|
|
[[groups]]
|
|
id = "bootstrapper"
|
|
[groups.resources]
|
|
memory = "120Mi"
|
|
cpu = "10m"
|
|
[groups.instances]
|
|
count = 1
|
|
percentage = 0.0
|
|
[groups.run]
|
|
[groups.run.test_params]
|
|
role = "bootstrapper"
|
|
clients = "1"
|
|
miners = "1"
|
|
balance = "2000"
|
|
sectors = "10"
|
|
|
|
[[groups]]
|
|
id = "miners"
|
|
[groups.resources]
|
|
memory = "120Mi"
|
|
cpu = "10m"
|
|
[groups.instances]
|
|
count = 1
|
|
percentage = 0.0
|
|
[groups.run]
|
|
[groups.run.test_params]
|
|
role = "miner"
|
|
clients = "1"
|
|
miners = "1"
|
|
balance = "2000"
|
|
sectors = "10"
|
|
|
|
[[groups]]
|
|
id = "clients"
|
|
[groups.resources]
|
|
memory = "120Mi"
|
|
cpu = "10m"
|
|
[groups.instances]
|
|
count = 1
|
|
percentage = 0.0
|
|
[groups.run]
|
|
[groups.run.test_params]
|
|
role = "client"
|
|
clients = "1"
|
|
miners = "1"
|
|
balance = "2000"
|
|
sectors = "10"
|