Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
04749ee0
Commit
04749ee0
authored
Jun 26, 2014
by
antirez
Browse files
Fixed assert conditional in ROLE command test.
parent
60ff8095
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/integration/replication.tcl
View file @
04749ee0
...
...
@@ -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