mirror of
https://github.com/fluencelabs/redis
synced 2025-03-17 16:10:50 +00:00
Cluster test: rewrite config when resetting nodes.
This commit is contained in:
parent
73fefd0bc0
commit
1d5b12c54a
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user