Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
601cea66
Commit
601cea66
authored
Mar 28, 2013
by
antirez
Browse files
Test: regression test for issue #1026.
parent
3816e7bd
Changes
1
Show whitespace changes
Inline
Side-by-side
tests/unit/expire.tcl
View file @
601cea66
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment