Run Jepsen tests - Howto

  1. Clone the jepsen repo at https://github.com/jepsen-io/jepsen.

    git clone [email protected]:jepsen-io/jepsen.git
    
  2. Run the following command to setup the instances from the repo.

    cd docker && ./up.sh
    

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
[email protected]:/jepsen# cd dgraph
[email protected]:/jepsen/dgraph# lein run test -w upsert
# Specify a --package-url
[email protected]:/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/jepson-tests/