1
0
mirror of https://github.com/fluencelabs/redis synced 2025-03-31 14:51:04 +00:00

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

@ -7,8 +7,12 @@ start_server {tags {"aofrw"}} {
r bgrewriteaof r bgrewriteaof
r config set appendonly no r config set appendonly no
r exec r exec
set result [exec tail -n1 < [srv 0 stdout] ] wait_for_condition 50 100 {
} {*Killing*AOF*child*} [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 d {string int} {
foreach e {ziplist linkedlist} { foreach e {ziplist linkedlist} {