summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/cluster/tests/includes/init-tests.tcl3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/cluster/tests/includes/init-tests.tcl b/tests/cluster/tests/includes/init-tests.tcl
index cc2425423..fcfa46d11 100644
--- a/tests/cluster/tests/includes/init-tests.tcl
+++ b/tests/cluster/tests/includes/init-tests.tcl
@@ -23,8 +23,9 @@ test "Cluster nodes hard reset" {
foreach_redis_id id {
catch {R $id flushall} ; # May fail for readonly slaves.
R $id cluster reset hard
- R $id config set cluster-node-timeout 3000
R $id cluster set-config-epoch [expr {$id+1}]
+ R $id config set cluster-node-timeout 3000
+ R $id config rewrite
}
}