Jepsen test instances for HStreamDB.
Note:
The following files are forked & modified from [https://github.com/jepsen-io/redpanda](Jepsen's official repository), with the same license.
src/jepsen/hstream/kafka_test.cljsrc/jepsen/hstream/kafka/*
The project is at its early stage and is under active development.
It currently contains the following tests:
- A modified set test suitable for append-only streaming databases
./scripts/build_base.sh
./scripts/build_legacy.sh
./scripts/up_legacy.sh
./scripts/clean_legacy.sh
For kafka version test, run *_kafka.sh.
The test results will be stored at ./store directory. Check it manually or by a simple server:
- If you have
leiningeninstalled:
lein with-profile legacy-husky run serve
- If you do not have
leiningen:
docker run -t --rm --network host -v $(pwd):/working clojure:temurin-21-lein /bin/bash -c "cd /working && lein with-profile legacy-husky run serve"
Then browse the results at localhost:8080.
- Add
BASE_IMAGEandHSTREAM_IMAGEarg on building step to use your own hstream image. - Add
USE_CHINA_MIRRORarg to speed up downloading. - Add
env_http_proxyandenv_https_proxyarg to use proxy from your host (it should allow LAN requests). - Adjust test parameters in
docker/control/Dockerfileordocker/control-kafka/Dockerfile, then rebuild images (no need to rebuild base image).