From: antirez Date: Fri, 8 Jul 2011 10:20:30 +0000 (+0200) Subject: Test for regression about: Redis should not try to convert DEL into EXPIREAT for... X-Git-Url: https://git.saurik.com/redis.git/commitdiff_plain/5521fa6a9f1f22bf2034d26b68e885c1dd5baa3a?ds=inline Test for regression about: Redis should not try to convert DEL into EXPIREAT for EXPIRE -1 --- diff --git a/tests/integration/aof.tcl b/tests/integration/aof.tcl index 954edc2c..3c77cb96 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 + } + } }