baef8c0c27
1. go 1.16.4 is not supported. 2. go-ipfs 0.4.22 is NOT SUPPORTED! 3. switch go cimg/go 4. Remove unnecessary CI dependencies. |
||
---|---|---|
.. | ||
composer | ||
dashboards | ||
docker-images | ||
lotus-soup | ||
notes | ||
DELVING.md | ||
Makefile | ||
README-old-from-oni.md | ||
README.md |
Testground testplans for Lotus
This directory consists of testplans built to be run on Testground that exercise Lotus on TaaS.
Table of Contents
Testing topics
- storage and retrieval deals:
- end-to-end flows where clients store and retrieve pieces from miners, including stress testing the system.
- payment channels:
- stress testing payment channels via excessive lane creation, excessive payment voucher atomisation, and redemption.
Running the test cases
If you are unfamiliar with Testground, we strongly suggest you read the Testground Getting Started guide in order to learn how to install Testground and how to use it.
You can find various composition files describing various test scenarios built as part of Project Oni at lotus-soup/_compositions
directory.
We've designed the test cases so that you can run them via the local:exec
, local:docker
and the cluster:k8s
runners. Note that Lotus miners are quite resource intensive, requiring gigabytes of memory. Hence you would have to run these test cases on a beafy machine (when using local:docker
and local:exec
), or on a Kubernetes cluster (when using cluster:k8s
).
Here are the basics of how to run the baseline deals end-to-end test case:
Running the baseline deals end-to-end test case
-
Compile and Install Testground from source code.
- See the Getting Started section of the README for instructions.
-
Run a Testground daemon
testground daemon
- Download required Docker images for the
lotus-soup
test plan
make pull-images
Alternatively you can build them locally with
make build-images
- Import the
lotus-soup
test plan into your Testground home directory
testground plan import --from ./lotus-soup
- Run a composition for the baseline deals end-to-end test case
testground run composition -f ./lotus-soup/_compositions/baseline-docker-5-1.toml