memgraph/tests/distributed/raft/README.md
Marko Culinovic 7a06040a76 Setup RAFT test infrastructure
Summary:
`JailService` exposes jail API and knows how to
start and stop binaries. Every test should be
defined as python module with exposed
`run` method. Script `master.py` is used
for running tests and takes test module
name as argument. Machine IP addresses are
defined in environment variables. To run test
locally use `local_runner` script.

Reviewers: mislav.bradac, mferencevic, mtomic

Reviewed By: mferencevic

Subscribers: pullbot

Differential Revision: https://phabricator.memgraph.io/D1065
2018-01-05 09:59:42 +01:00

319 B

Raft Tests

To run test locally execute following command:

./local_runner {test_suite} {test_name}

Every test has to be defined as python module with exposed run(machine_ids, workers) method. In each test there has to be constant NUM_MACHINES which specifies how many workers to run in cluster.