You are looking at the docs for the unreleased master branch of Dgraph. The latest version is v21.12.
Ask a Question

Run Jepsen Tests

  1. Clone the Jepsen repo at https://github.com/jepsen-io/jepsen.
git clone [email protected]: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
[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