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
92997d06
Commit
92997d06
authored
May 02, 2012
by
antirez
Browse files
Test "Turning off AOF kills the background writing child if any" is now more reliable.
parent
cc4f65fe
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/unit/aofrw.tcl
View file @
92997d06
...
...
@@ -7,8 +7,12 @@ start_server {tags {"aofrw"}} {
r bgrewriteaof
r config set appendonly no
r exec
set result
[
exec tail -n1 <
[
srv 0 stdout
]
]
}
{
*Killing*AOF*child*
}
wait_for_condition 50 100
{
[
string match
{
*Killing*AOF*child*
}
[
exec tail -n5 <
[
srv 0 stdout
]]]
}
else
{
fail
"Can't find 'Killing AOF child' into recent logs"
}
}
foreach d
{
string int
}
{
foreach e
{
ziplist linkedlist
}
{
...
...
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