Commit Graph

39 Commits

Author SHA1 Message Date
f2cb04e18c Cluster test: unit 07, replicas migration. 2014-07-28 14:55:10 +02:00
f2fd98bef9 Cluster test: unit 06 cluster creation comment fixed. 2014-07-28 14:55:10 +02:00
582d8c0c66 Cluster test: node reachability condition fixed. 2014-07-28 14:55:10 +02:00
f54162074e Cluster test: init test, be patient during restarts. 2014-07-28 14:55:10 +02:00
999205736b Cluster test: 03 unit speedup, don't send WAIT to slaves. 2014-07-28 14:55:10 +02:00
b43c44a196 Cluster test: unit 06, slaves with stale data can't failover. 2014-07-28 14:55:10 +02:00
1400b6679a Cluster test: new unit 05, slave selection. 2014-07-28 14:55:10 +02:00
e8199b67e3 Cluster test: use larger keyspace in resharding test. 2014-07-23 09:41:01 +02:00
b4937427db Cluster test: unit 04, consistency during resharding. 2014-07-23 09:41:01 +02:00
e6ac6a170b Cluster test: test that writes are retained during failovers.
In the test we use WAIT when the master and slave are up, and only later the
partition is created killing the master, so we are sure we don't incur
in failure modes that may lose writes in this test: the goal here is to
make sure that the elected slave was replicating correctly with the
master.
2014-07-23 09:41:01 +02:00
4dfc18596e Add correct exit value to failed tests 2014-06-21 15:18:32 +02:00
62bddfe3af Cluser test: write multiple keys in unit 03.
The write-failover-read test is better if we write 100 keys so that we
are sure all the nodes are affected by the write.
2014-06-21 15:18:32 +02:00
1381a6bf3d Cluster test: rewrite config when resetting nodes. 2014-06-21 15:18:32 +02:00
053bcf034e Cluster test: set config epochs when creating clusters. 2014-06-21 15:18:32 +02:00
6cd068d421 Cluster test: unit 03, check epochs correctness. 2014-06-21 15:18:32 +02:00
90b4f91e1a Cluster test: better failover detection in unit 03. 2014-06-21 15:18:32 +02:00
7079ef0341 Cluster test: new unit 03, failover loop stress testing. 2014-06-21 15:18:32 +02:00
1d896303af Cluster test: 02 unit more reliable waiting for slave sync. 2014-06-21 15:18:32 +02:00
d7a4025828 Cluster test: unit 02 should wait for failover. 2014-06-21 15:18:31 +02:00
33f09f0ff3 Cluster test: check master -> slave role switch. 2014-06-21 15:18:31 +02:00
53bc8a77d1 Cluster test: add tmp dir to Git repo. 2014-05-26 18:06:48 +02:00
672e2672aa Cluster test: catch FLUSHALL errors on node reset.
FLUSHALL will fail on read-only slaves, but there the command is not
needed in order to reset the instance with CLUSTER RESET so errors can
be ignored.
2014-05-26 16:36:11 +02:00
7f8ea7a50f Cluster test: basic failover unit added. 2014-05-23 15:54:53 +02:00
29aed9c48f Cluster test: move basic read/write test into a procedure. 2014-05-23 15:54:53 +02:00
81af783fec Cluster test: more reliable 01-faildet unit.
Do things in a sequence that prevents failover during failure detection.
2014-05-23 15:54:53 +02:00
440ee603b7 Cluster test: better failure detection test and framework improvements. 2014-05-20 17:45:50 +02:00
a7fd2eb594 Cluster test: failure detection initial tests. 2014-05-20 17:45:50 +02:00
a82c000bdb Cluster test: proper initialization at unit startup. 2014-05-20 17:45:50 +02:00
d279024081 Cluster test: added function assert_cluster_state. 2014-05-20 17:45:50 +02:00
402b1170bc Test: cluster/base, check that we can write/read from cluster. 2014-05-05 09:37:39 +02:00
4ca7c5bcde Cluster test: check for state=ok after slot allocation. 2014-05-05 09:37:39 +02:00
6fc17adcd8 Cluster test: slots allocation. 2014-05-05 09:37:39 +02:00
0906ca8a3e Cluster test: use 20 instances.
This makes tests a bit slower, but it is better to test things at a
decent scale instead of using just a few nodes, and for a few tests we
actually need so many nodes.
2014-05-05 09:37:39 +02:00
402815cc3f Cluster / Sentinel test: instances count moved to run.tcl. 2014-05-05 09:37:39 +02:00
6e60e2467b Cluster test: config epoch conflict resolution. 2014-05-05 09:37:39 +02:00
b1f6f2ace0 Cluster test: auto-discovery to form full mesh. 2014-05-05 09:37:39 +02:00
e244bee60c Cluster test: check that every node has a different ID. 2014-05-05 09:37:39 +02:00
6b4e9558bd Cluster test: basic cluster nodes info access functions. 2014-05-05 09:37:39 +02:00
a8464828b6 Redis Cluster test framework skeleton. 2014-04-28 18:17:02 +02:00