Skip to content

Latest commit

 

History

History

scalardb

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Jepsen tests for ScalarDB

This guide will teach you how to run Jepsen tests for ScalarDB. The current tests use Cassandra test tools in Jepsen.

How to test

  1. Start the Docker nodes or multiple machines and log into jepsen-control (as explained here).

  2. Install the Cassandra test tool

    # in jepsen-control
    
    $ cd ${SCALAR_JEPSEN}/cassandra
    $ lein install
    
  3. Run a test of ScalarDB

    # in jepsen-control
    
    $ cd ${SCALAR_JEPSEN}/scalardb
    $ lein run test --workload transfer --nemesis crash --admin join --time-limit 300 --ssh-private-key ~/.ssh/id_rsa
    
  • For elle-* tests, graphviz package is required in jepsen-control. You can install it with apt-get install graphviz
  • See lein run test --help for full options