Commit Graph

10 Commits

Author SHA1 Message Date
Anton Evangelatov
027b80f5af revert soup main.go 2020-07-03 21:27:47 +02:00
Anton Evangelatov
8708f31c45 wip 2020-07-03 20:06:10 +02:00
Yusef Napora
a8841a8b76 merge testkit into plan/drand-halting 2020-07-01 12:54:46 -04:00
Yusef Napora
406bd5da84 define new test case for drand-halting 2020-07-01 12:04:19 -04:00
Raúl Kripalani
e5d6751b09 rename testkit.{Run=>Handle}DefaultRole. 2020-07-01 14:53:34 +01:00
Raúl Kripalani
81f8451a23 iterate on testkit library. 2020-07-01 14:41:38 +01:00
Raúl Kripalani
436fe158c9 form testkit; separate test case logic from node templates. 2020-07-01 13:13:17 +01:00
Raúl Kripalani
7f3716504b
refactor lotus recipes to make them more manageable. (#86)
- Each role now has its own file (role_*.go).
- Options have their own file (lotus_opts.go).
- Sync service constructions have their own file (sync.go).
- Utilities are functionally grouped in files ({deals,retrieval}.go).
2020-06-30 23:02:01 +01:00
vyzo
0e924edf0e use the role map, luke! 2020-06-24 14:02:20 +03:00
vyzo
448bbf3710
generic test plan scaffolding, with baseline plan (#39)
* 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>
2020-06-24 12:52:23 +02:00