mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-22 16:18:28 -05:00
Test "Turning off AOF kills the background writing child if any" is now more reliable.
This commit is contained in:
parent
cc4f65fea4
commit
92997d06ea
@ -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} {
|
||||
|
Loading…
Reference in New Issue
Block a user