summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBinbin <binloveplay1314@qq.com>2022-07-11 20:21:35 +0800
committerGitHub <noreply@github.com>2022-07-11 15:21:35 +0300
commit693acc0114af6298ab6601ab6d6c668c4e795049 (patch)
tree6d9d5cd5eb1d2cb7492c5e4fc2dae07a38cf5211
parentb4568fc78a15f7696f7cc0e25aeb943a6319f6b8 (diff)
downloadredis-693acc0114af6298ab6601ab6d6c668c4e795049.tar.gz
Trying to fix cluster test (#10963)
#10942 break the new test added in #10449 ``` Testing unit: 29-slot-migration-response.tcl Cluster Join and auto-discovery test: FAILED: Cluster failed to join into a full mesh. ``` It looks like we need to wait for the cluster in 28 to become stable.
-rw-r--r--tests/cluster/tests/28-cluster-shards.tcl4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/cluster/tests/28-cluster-shards.tcl b/tests/cluster/tests/28-cluster-shards.tcl
index 9894d4b33..8d218cb6f 100644
--- a/tests/cluster/tests/28-cluster-shards.tcl
+++ b/tests/cluster/tests/28-cluster-shards.tcl
@@ -196,3 +196,7 @@ test "Regression test for a crash when calling SHARDS during handshake" {
# connections were in handshake state.
R 19 CLUSTER SHARDS
}
+
+test "Cluster is up" {
+ assert_cluster_state ok
+}