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
1f0c0df4
Commit
1f0c0df4
authored
Jun 26, 2014
by
antirez
Browse files
Fixed assert conditional in ROLE command test.
parent
95b1979c
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/integration/replication.tcl
View file @
1f0c0df4
...
...
@@ -82,7 +82,7 @@ start_server {tags {"repl"}} {
assert
{
$offset
> 0
}
assert
{[
llength $slaves
]
== 1
}
lassign
[
lindex $slaves 0
]
master_host master_port slave_offset
assert
{
$slave
_offset < $offset
}
assert
{
$slave
_offset <
=
$offset
}
}
test
{
ROLE in slave reports slave in connected state
}
{
...
...
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