- (POC) Deploy database cluster with Kubernetes
- Docker image for further framework
Benchmark from git@github.com:pingcap/tidb-bench.git
, you may need to update git submodules
Test framework, demo are ssb.py
and ssb-chaos.py
Star Schema Benchmark from tidb-bench
ssb test as above, with chaos testing
All symbols under this section are defined in test_template
package
Abstraction of node when testing, including Docker image and custom initialization.
Some predefined nodes are in nodes
Abstraction of test environment, including Node
configs and initialization.
Abstraction of one test, including corresponding TestBed
and test logic.
Abstraction of test behavior, some predefined actions are in actions
.
"Operator" for chaos testing
TestAction
to enable or disable ChaosOperator
Manage random chaos behavior during test.
- Python3 with
kubernetes
package CopyBuildSsb
requireskubectl cp
to work
cd <repo-dir>
to usetest_template
package
Run original test without chaos: $ python3 ssb.py
Run original test without chaos: $ python3 ssb-chaos.py