memgraph/tests
Matija Santl f53913e053 Add automated test for Raft
Summary:
Created a new integration test for Raft protocol.

The tests iterates through the Raft cluster and does the following:
* kill machine `X`
* execute a query
* bring `X` back to life

The first step is to insert a vertex in the cluster, and last step is to check
if the cluster has all the data.

I also edited some of the raft core files because this test surafaced some bugs.

The `tester` binary is a hacked version of the HA client and so are the parts in
the code that refuse to execute a query is the machine is not in `Leader` mode.o
Those parts will go away once we have a proper HA client.

I've run the `runner.py` for a while (215 times)
```
while ./runner.py &> log.txt; do echo -n "."; done
```
and it didn't break.

Reviewers: ipaljak, mferencevic

Reviewed By: ipaljak

Subscribers: pullbot

Differential Revision: https://phabricator.memgraph.io/D1788
2019-01-14 13:41:36 +01:00
..
benchmark Implement new SkipList 2019-01-14 13:01:15 +01:00
concurrent Implement new SkipList 2019-01-14 13:01:15 +01:00
distributed Fix distributed tests exit code 2018-11-07 22:46:55 +01:00
drivers Integrate driver tests with Apollo 2018-08-22 18:31:37 +02:00
feature_benchmark Remove virtual and pimpl from single node 2018-10-09 11:48:30 +02:00
integration Add automated test for Raft 2019-01-14 13:41:36 +01:00
macro_benchmark Fix parallel macro benchmarks 2018-11-06 16:49:12 +01:00
manual Extract QueryVisitor from HierarchicalTreeVisitor 2018-11-12 12:53:25 +01:00
property_based Remove virtual and pimpl from single node 2018-10-09 11:48:30 +02:00
public_benchmark Update LDBC query implementation 2018-07-10 10:08:21 +02:00
qa Refactor QA 2018-12-04 12:33:48 +01:00
stress Polish Bolt client and mg_client 2018-10-19 13:55:51 +02:00
unit Add automated test for Raft 2019-01-14 13:41:36 +01:00
apollo_runs.py Add LCP tests 2018-10-15 11:52:20 +02:00
client-stress.sh Migrate command line args to gflgs in tests 2017-07-06 13:54:12 +02:00
CMakeLists.txt Add kafka benchmark 2018-08-29 16:35:31 +02:00