summaryrefslogtreecommitdiff
path: root/tests/integration
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2011-07-08 12:20:30 +0200
committerantirez <antirez@gmail.com>2011-07-08 12:20:30 +0200
commit5521fa6a9f1f22bf2034d26b68e885c1dd5baa3a (patch)
tree4a8ade3db93d4dc0fb8b84365a6000f92e10395c /tests/integration
parent812ecc8b1094b44400aade78ae14c00e477fa835 (diff)
downloadredis-5521fa6a9f1f22bf2034d26b68e885c1dd5baa3a.tar.gz
Test for regression about: Redis should not try to convert DEL into EXPIREAT for EXPIRE -1
Diffstat (limited to 'tests/integration')
-rw-r--r--tests/integration/aof.tcl7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/integration/aof.tcl b/tests/integration/aof.tcl
index 954edc2c4..3c77cb966 100644
--- a/tests/integration/aof.tcl
+++ b/tests/integration/aof.tcl
@@ -119,4 +119,11 @@ tags {"aof"} {
assert_equal 0 [$client llen list]
}
}
+
+ start_server {overrides {appendonly {yes} appendfilename {appendonly.aof}}} {
+ test {Redis should not try to convert DEL into EXPIREAT for EXPIRE -1} {
+ r set x 10
+ r expire x -1
+ }
+ }
}