Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
053bcf03
Commit
053bcf03
authored
Jun 10, 2014
by
antirez
Browse files
Cluster test: set config epochs when creating clusters.
parent
78a687ec
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/cluster/tests/includes/init-tests.tcl
View file @
053bcf03
...
@@ -24,6 +24,7 @@ test "Cluster nodes hard reset" {
...
@@ -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
}]
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment