Ask a Question

Run Jepsen Tests

  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.
cd docker && ./up.sh

This should start 5 Jepsen nodes in docker containers.

  1. Now ssh into jepsen-control container and run the tests.
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