memgraph/tests/distributed/raft
Dominik Gleich 007a7f1a6d Change network design from Start/Shutdown to constructor/destructor
Summary:
Make ServerT start on constructor

Remove shutdown from MasterCoordinator

Distributed system remove Shutdown

Rcp server start and shutdown removed

Reviewers: florijan, mferencevic

Reviewed By: mferencevic

Subscribers: mferencevic, pullbot

Differential Revision: https://phabricator.memgraph.io/D1097
2018-01-10 14:58:57 +01:00
..
CMakeLists.txt Setup RAFT test infrastructure 2018-01-05 09:59:42 +01:00
example_client.cpp Change network design from Start/Shutdown to constructor/destructor 2018-01-10 14:58:57 +01:00
example_server.cpp Change network design from Start/Shutdown to constructor/destructor 2018-01-10 14:58:57 +01:00
example_test.py Setup RAFT test infrastructure 2018-01-05 09:59:42 +01:00
messages.hpp Setup RAFT test infrastructure 2018-01-05 09:59:42 +01:00
README.md Setup RAFT test infrastructure 2018-01-05 09:59:42 +01:00

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.