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
2ac7b5a8
Commit
2ac7b5a8
authored
Feb 04, 2015
by
antirez
Browse files
Fix RDB corruption test after server behavior change.
parent
78dd2b31
Changes
1
Show whitespace changes
Inline
Side-by-side
tests/integration/rdb.tcl
View file @
2ac7b5a8
...
...
@@ -90,7 +90,7 @@ start_server_and_kill_it [list "dir" $server_path] {
test
{
Server should not start if RDB is corrupted
}
{
wait_for_condition 50 100
{
[
string match
{
*RDB checksum*
}
\
[
exec tail -n1 <
[
dict get $srv stdout
]]]
[
exec tail -n1
0
<
[
dict get $srv stdout
]]]
}
else
{
fail
"Server started even if RDB was corrupted!"
}
...
...
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