Commit 1d5b12c5 authored by antirez's avatar antirez
Browse files

Cluster test: rewrite config when resetting nodes.

parent 73fefd0b
...@@ -23,8 +23,9 @@ test "Cluster nodes hard reset" { ...@@ -23,8 +23,9 @@ test "Cluster nodes hard reset" {
foreach_redis_id id { foreach_redis_id id {
catch {R $id flushall} ; # May fail for readonly slaves. catch {R $id flushall} ; # May fail for readonly slaves.
R $id cluster reset hard R $id cluster reset hard
R $id config set cluster-node-timeout 3000
R $id cluster set-config-epoch [expr {$id+1}] R $id cluster set-config-epoch [expr {$id+1}]
R $id config set cluster-node-timeout 3000
R $id config rewrite
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment