Anthony Romano 39f4502cc0 local-tester: use new bridge flags | 7 år sedan | |
---|---|---|
.. | ||
bridge | 7 år sedan | |
Procfile | 7 år sedan | |
README.md | 8 år sedan | |
bridge.sh | 7 år sedan | |
faults.sh | 8 år sedan |
The etcd local-tester runs a fault injected cluster using local processes. It sets up an etcd cluster with unreliable network bridges on its peer and client interfaces. The cluster runs with a constant stream of Put
requests to simulate client usage. A fault injection script periodically kills cluster members and disrupts bridge connectivity.
local-tester depends on goreman
to manage its processes and bash
to run fault injection.
local-tester needs etcd
, benchmark
, and bridge
binaries. To build these binaries, run the following from the etcd repository root:
./build
pushd tools/benchmark/ && go build && popd
pushd tools/local-tester/bridge && go build && popd
The fault injected cluster is invoked with goreman
:
goreman -f tools/local-tester/Procfile start