Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 863 Bytes

Jepsen.md

File metadata and controls

31 lines (24 loc) · 863 Bytes

Jepsen

We tested our system with Jepsen - framework for testing distributed systems in failure scenarios.

Testing code is located in qiwitech/qdp-jepsen repo.

Run tests

You'll need docker-compose to run testing cluster.

# build binaries at plutos repo
./build-for-jepsen.sh
# move created archive to jepsen repo (expected that both repositories are located at the same location)
cp plutos.tar ../jepsen/docker/static/
# go to jepsen repo
cd ../jepsen
# run testing cluster
./docker/up.sh
# wait until containers are built and running

Open new terminal and type there

# login to control node shell
docker exec -it jepsen-control bash
# run test
cd plutos && lein run test

in the end you should see following message: Everything looks good! ヽ(‘ー`)ノ