memgraph/tests/integration/ha
Ivan Paljak c775688aa7 Add HA integration test for leader election
Summary:
This tests checks the correctness of a leader election process when its
decoupled from log replication. In other words, in this test we do not change
the state of the database, i. e., the Raft log remains empty.

The test proceeds as follows for clusters of size 3 and 5:
  1. Start a random subset of workers in the cluster
  2. Check if the leader has been elected
  3. Kill all living workers
  4. GOTO 1 and repeat 10 times

Reviewers: msantl

Reviewed By: msantl

Subscribers: pullbot

Differential Revision: https://phabricator.memgraph.io/D2105
2019-06-04 12:48:35 +02:00
..
basic Add replication timeout in Raft 2019-02-27 17:42:35 +01:00
constraints Add constraint in HA 2019-05-29 14:55:04 +02:00
index Add replication timeout in Raft 2019-02-27 17:42:35 +01:00
large_log_entries Update constants in large log entries test to prevent test timeouts 2019-05-29 15:40:46 +02:00
leader_election Add HA integration test for leader election 2019-06-04 12:48:35 +02:00
log_compaction Make manual HA client use the new Bolt client 2019-04-25 15:45:03 +02:00
term_updates Add Raft term updates integration test 2019-05-27 10:33:40 +02:00
ha_test.py Fix Raft failure discovered in apollo run 479391 2019-02-15 10:22:52 +01:00