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
64e6d7af
Commit
64e6d7af
authored
Jun 10, 2014
by
antirez
Browse files
Cluster test: unit 03, check epochs correctness.
parent
4fd35a28
Changes
1
Show whitespace changes
Inline
Side-by-side
tests/cluster/tests/03-failover-loop.tcl
View file @
64e6d7af
...
@@ -89,3 +89,9 @@ while {[incr iterations -1]} {
...
@@ -89,3 +89,9 @@ while {[incr iterations -1]} {
assert
{
$err
eq $val
}
assert
{
$err
eq $val
}
}
}
}
}
test
"Post condition: current_epoch >= my_epoch everywhere"
{
foreach_redis_id id
{
assert
{[
CI $id cluster_current_epoch
]
>=
[
CI $id cluster_my_epoch
]}
}
}
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