mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-22 16:18:28 -05:00
Test: regression test for issue #1026.
This commit is contained in:
parent
3816e7bda9
commit
601cea665d
@ -178,6 +178,16 @@ start_server {tags {"expire"}} {
|
||||
list $size1 $size2 $size3
|
||||
} {3 3 0}
|
||||
|
||||
test {EXPIRE should not resurrect keys (issue #1026)} {
|
||||
r debug set-active-expire 0
|
||||
r set foo bar
|
||||
r pexpire foo 500
|
||||
after 1000
|
||||
r expire foo 10
|
||||
r debug set-active-expire 1
|
||||
r exists foo
|
||||
} {0}
|
||||
|
||||
test {5 keys in, 5 keys out} {
|
||||
r flushdb
|
||||
r set a c
|
||||
|
Loading…
Reference in New Issue
Block a user