summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorBinbin <binloveplay1314@qq.com>2022-07-19 11:35:13 +0800
committerGitHub <noreply@github.com>2022-07-18 20:35:13 -0700
commit5ce64ab01011781c426074f3fa7398260cce94cc (patch)
tree32bc8c45ad8ec4bb73207e57c5556836f7234525 /.github
parent2825b6057bee911e69b6fd30eb338d02e9d7ff90 (diff)
downloadredis-5ce64ab01011781c426074f3fa7398260cce94cc.tar.gz
Fix timing issue in cluster test (#11008)
A timing issue like this was reported in freebsd daily CI: ``` *** [err]: Sanity test push cmd after resharding in tests/unit/cluster/cli.tcl Expected 'CLUSTERDOWN The cluster is down' to match '*MOVED*' ``` We additionally wait for each node to reach a consensus on the cluster state in wait_for_condition to avoid the cluster down error. The fix just like #10495, quoting madolson's comment: Cluster check just verifies the the config state is self-consistent, waiting for cluster_state to be okay is an independent check that all the nodes actually believe each other are healthy. At the same time i noticed that unit/moduleapi/cluster.tcl has an exact same test, may have the same problem, also modified it.
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions