From 605303d9c675d2b4dd1bc65f2f3e7f1884909500 Mon Sep 17 00:00:00 2001 From: antirez Date: Tue, 10 Jun 2014 16:56:43 +0200 Subject: [PATCH] Cluster test: set config epochs when creating clusters. --- tests/cluster/tests/includes/init-tests.tcl | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/cluster/tests/includes/init-tests.tcl b/tests/cluster/tests/includes/init-tests.tcl index 75417f20c..cc2425423 100644 --- a/tests/cluster/tests/includes/init-tests.tcl +++ b/tests/cluster/tests/includes/init-tests.tcl @@ -24,6 +24,7 @@ test "Cluster nodes hard reset" { 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}] } }