7a06040a76
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
14 lines
319 B
Markdown
14 lines
319 B
Markdown
# 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.
|