Test "Turning off AOF kills the background writing child if any" is now more reliable.

This commit is contained in:
antirez 2012-05-02 11:40:46 +02:00
parent cc4f65fea4
commit 92997d06ea

View File

@ -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} {