diff options
author | antirez <antirez@gmail.com> | 2014-06-11 16:23:13 +0200 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2014-06-11 16:23:13 +0200 |
commit | 1d5b12c54ae52816d0d0577e17cbbc4def59d247 (patch) | |
tree | ca475d978f944ef99d9fa91248f99d56565289e3 | |
parent | 73fefd0bc05b7711d3710761b49197596ba39aa4 (diff) | |
download | redis-1d5b12c54ae52816d0d0577e17cbbc4def59d247.tar.gz |
Cluster test: rewrite config when resetting nodes.
-rw-r--r-- | tests/cluster/tests/includes/init-tests.tcl | 3 |
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 } } |