A Clojure library designed to test TiDB with Jepsen.
Jepsen supports two ways to run, LXC or docker. you can see the jepsen document for more help.
We support origin Jepsen docker in docker mode, and at the same time, we support running multi dockers too.
./run_dind.sh start
./run_dind.sh stop
./run_multi.sh start
./run_multi.sh stop
You can use ./stop_multi.sh
to stop all running contains.
After you enter docker jepsen, run:
cd /jepsen_dev
lein test
Notice:
If you are in China, the apt-get
may be very slow because of the poor Chinese network.
Before you run the lein test
, cd scripts
and run ./update_sources.sh
,
this will replace the origin official debian source with 163's.
Copyright © 2015 FIXME
Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.