12 Commits

Author SHA1 Message Date
Yossi Gottlieb
43e1f93f25 Fix failing cluster tests. (#8763)
Disable replica migration to avoid a race condition where the
migrated-from node turns into a replica.

Long term, this test should probably be improved to handle multiple
slots and accept such auto migrations but this is a quick fix to
stabilize the CI without completely dropping this test.
2021-04-13 00:00:57 +03:00
Yossi Gottlieb
e9ae932bc7 Clean up and stabilize cluster migration tests. (#8745)
This is work in progress, focusing on two main areas:
* Avoiding race conditions with cluster configuration propagation.
* Ignoring limitations with redis-cli --cluster fix which makes it hard
  to distinguish real errors (e.g. failure to fix) from expected
  conditions in this test (e.g. nodes not agreeing on configuration).
2021-04-06 11:57:57 +03:00
Oran Agra
37cf8d8f7f Fix cluster diskless load swapdb test (#8308)
The test was trying to wait for the replica to start loading the rdb
from the master before it kills the master, but it was actually waiting
for ROLE to be in "sync" mode, which corresponds to REPL_STATE_TRANSFER
that starts before the actual loading starts.
now instead it waits for the loading flag to be set.

Besides, the test was dependent on the previous configuration of the
servers, relying on the fact the replica is configured to persist
(either RDB of AOF), now it is set explicitly.
2021-01-12 09:41:57 +02:00
WuYunlong
2c68d2d5c7 Fix tests/cluster/cluster.tcl about wrong usage of lrange. (#6702) 2020-08-04 18:00:58 +03:00
antirez
054a935d2c Cluster: add test for the nofailover flag. 2018-03-14 16:30:32 +01:00
Matt Stancliff
a13ea7e6d4 Spell software correctly 2014-09-29 06:49:07 -04:00
antirez
d6fa9a31c3 Cluster test: move basic read/write test into a procedure. 2014-05-23 11:41:50 +02:00
antirez
43ca660e33 Cluster test: better failure detection test and framework improvements. 2014-05-19 15:26:19 +02:00
antirez
dcf52ec3d6 Cluster test: added function assert_cluster_state. 2014-05-14 15:21:57 +02:00
antirez
0935d95c5e Cluster test: slots allocation. 2014-04-29 18:40:43 +02:00
antirez
be4cf4d66c Cluster test: basic cluster nodes info access functions. 2014-04-29 10:42:17 +02:00
antirez
0d183da744 Redis Cluster test framework skeleton. 2014-04-24 18:01:41 +02:00