Skip to content
Jepsen-like tests for Insolar
Branch: master
Clone or download
Latest commit aa9773d Apr 19, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
base-image Remove symlink Mar 4, 2019
config-templates User zerolog adapter instead of deprecated logrus Mar 27, 2019
.gitignore Minor changes / a little refactoring Mar 4, 2019
Dockerfile
LICENSE
README.md
build-docker.py
run-test.py Minor changes Apr 19, 2019

README.md

insolar-jepsen

Jepsen-like tests for Insolar.

Requirements: docker, kubectl, jq. If you are using Docker Desktop, please note, that by default it uses rather strict resource limits. You might want to change these limits in Preferences... -> Advanced tab.

Usage:

# Make sure private key is readable only by current user
chmod 600 ./base-image/id_rsa

# Label current node: jepsen=true
kubectl label node docker-for-desktop jepsen=true

# to build the base image:
cd base-image && docker build --no-cache -t tsovak/insolar-jepsen-base . && cd ..

# to build the branch image:
./build-docker.py branch-name

# run tests (use --help flag to see all arguments)
./run-test.py -i insolar-jepsen:latest

After the test:

# To login to `jepsen-1` pod:
ssh -o 'StrictHostKeyChecking no' -i ./base-image/id_rsa -p 32001 gopher@localhost

# To attach a process running in background:
tmux ls
tmux attach -t insolard

# To copy a file from `jepsen-1` pod:
scp -o 'StrictHostKeyChecking no' -i ./base-image/id_rsa -P 32001 gopher@localhost:.bash_profile ./
You can’t perform that action at this time.