redis/tests/unit/cluster
Binbin a549b78c48
Fix redis-cli cluster add-node race in cli.tcl (#11349)
There is a race condition in the test:
```
*** [err]: redis-cli --cluster add-node with cluster-port in tests/unit/cluster/cli.tcl
Expected '5' to be equal to '4' {assert_equal 5 [CI 0 cluster_known_nodes]} proc ::test)
```

When using cli to add node, there can potentially be a race condition
in which all nodes presenting cluster state o.k even though the added
node did not yet meet all cluster nodes.

This comment and the fix were taken from #11221. Also apply it in several
other similar places.
2022-10-03 09:21:41 +03:00
..
cli.tcl Fix redis-cli cluster add-node race in cli.tcl (#11349) 2022-10-03 09:21:41 +03:00
hostnames.tcl Gossip forgotten nodes on `CLUSTER FORGET` (#10869) 2022-07-26 10:28:13 +03:00
misc.tcl Fix assertion when a key is lazy expired during cluster key migration (#11176) 2022-08-24 19:39:15 +03:00
multi-slot-operations.tcl Cluster test improvements (#10920) 2022-07-12 10:41:29 -07:00
scripting.tcl Cluster test improvements (#10920) 2022-07-12 10:41:29 -07:00
slot-ownership.tcl bugfix:del keys in slot replicate to replica, and trigger other invalidations (#11084) 2022-08-28 11:37:26 +03:00