Commit Graph

55 Commits

Author SHA1 Message Date
93959bc09f Sentinel / Cluster test: exit with non-zero error code on failures. 2015-03-30 14:29:18 +02:00
66899a42fc Cluster: unit 10 modified to leave cluster in proper state. 2015-03-22 23:00:38 +01:00
76b18c7a0e Cluster: CLUSTER FAILOVER TAKEOVER tests. 2015-03-22 23:00:38 +01:00
ca804a1022 Cluster: more tests for manual failover + FORCE. 2015-03-22 23:00:38 +01:00
d15d9fecd2 Cluster: new tests1 for manual failover and scripts replication. 2015-03-22 23:00:38 +01:00
400ae01a7f Cluster test: when valgrind is enabled, use a larger node-timeout.
Removes some percentage of timing related failures.
2015-01-22 16:31:36 +01:00
7e41200b98 Cluster test initialization: use transaction for reset + set-config-epoch.
Otherwise between the two commands other nodes may contact us making the
next SET-CONFIG-EPOCH call impossible.
2015-01-22 11:12:28 +01:00
4688f60b4b Cluster/Sentinel test: pause on exceptions as well. 2015-01-22 10:35:16 +01:00
7c283c5218 Cluster test: also write from Lua script in resharding test. 2015-01-09 11:06:38 +01:00
07963b21e3 Cluster test: helpers/onlydots.tcl: detect EOF and exit. 2014-10-08 10:17:23 +02:00
079662fca9 Cluster test: less console-spammy resharding test. 2014-10-08 10:17:23 +02:00
a19cdc5138 Remove trailing spaces from tests 2014-10-06 10:07:02 +02:00
f4c4a0fc33 Fix spelling in some test cases 2014-10-06 10:07:01 +02:00
47fde270b6 Spell software correctly 2014-10-06 10:07:01 +02:00
364ee8322e Cluster test: unit 09, Pub/Sub across the cluster. 2014-09-17 10:01:01 +02:00
08c95d6ae2 Cluster test: unit 08, update messages. 2014-09-17 10:01:01 +02:00
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