Cluster test: set config epochs when creating clusters.

This commit is contained in:
antirez 2014-06-10 16:56:43 +02:00
parent 61eb0eae83
commit 605303d9c6

View File

@ -24,6 +24,7 @@ test "Cluster nodes hard reset" {
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 config set cluster-node-timeout 3000
R $id cluster set-config-epoch [expr {$id+1}]
} }
} }