Run Jepsen tests - Howto

  1. Clone the jepsen repo at https://github.com/jepsen-io/jepsen.
git clone git@github.com:jepsen-io/jepsen.git
  1. Run the following command to setup the instances from the repo.

This should start 5 jepsen nodes in docker containers.

  1. Now ssh into jepsen-control container and run the tests.
Note You can use the transfer script to build the Dgraph binary and upload the tarball to https://transfer.sh, which gives you a url that can then be used in the Jepsen tests (using –package-url flag).
docker exec -it jepsen-control bash
root@control:/jepsen# cd dgraph
root@control:/jepsen/dgraph# lein run test -w upsert
# Specify a --package-url
root@control:/jepsen/dgraph# lein run test --force-download --package-url https://github.com/dgraph-io/dgraph/releases/download/nightly/dgraph-linux-amd64.tar.gz -w upsert

This is a companion discussion topic for the original entry at https://dgraph.io/docs/howto/jepsen-tests/