|
|
7 years ago | |
|---|---|---|
| .. | ||
| agent | 7 years ago | |
| cmd | 7 years ago | |
| rpcpb | 7 years ago | |
| runner | 7 years ago | |
| scripts | 7 years ago | |
| tester | 7 years ago | |
| README.md | 7 years ago | |
| build | 7 years ago | |
functional verifies the correct behavior of etcd under various system and network malfunctions. It sets up an etcd cluster under high pressure loads and continuously injects failures into the cluster. Then it expects the etcd cluster to recover within a few seconds. This has been extremely helpful to find critical bugs.
See functional.yaml for an example configuration.
PASSES=functional ./test
pushd ../..
make build-docker-functional
popd
And run example scripts.
# run 3 agents for 3-node local etcd cluster
./scripts/docker-local-agent.sh 1
./scripts/docker-local-agent.sh 2
./scripts/docker-local-agent.sh 3
# to run only 1 tester round
./scripts/docker-local-tester.sh