提交 23d7298b 编写于 作者: A antirez

Merge remote branch 'pietern/test-encoding-fix' into writeonexpire

...@@ -36,8 +36,8 @@ proc assert_encoding {enc key} { ...@@ -36,8 +36,8 @@ proc assert_encoding {enc key} {
# Swapped out values don't have an encoding, so make sure that # Swapped out values don't have an encoding, so make sure that
# the value is swapped in before checking the encoding. # the value is swapped in before checking the encoding.
set dbg [r debug object $key] set dbg [r debug object $key]
while {[string match "* swapped:*" $dbg]} { while {[string match "* swapped at:*" $dbg]} {
[r debug swapin $key] r debug swapin $key
set dbg [r debug object $key] set dbg [r debug object $key]
} }
assert_match "* encoding:$enc *" $dbg assert_match "* encoding:$enc *" $dbg
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册