File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4685,13 +4685,13 @@ start_server {tags {"hashexpire"}} {
46854685 r FLUSHALL
46864686 r DEBUG RELOAD NOSAVE
46874687
4688- # Re-enable active expiration
4689- r DEBUG SET-ACTIVE-EXPIRE 1
4690-
46914688 # Verify: key should not exist at all (empty hash skipped)
46924689 assert_equal 0 [r EXISTS myhash]
46934690 assert_equal 0 [r HLEN myhash]
4694- } {} {needs:debug}
4691+
4692+ # Re-enable active expiration
4693+ r DEBUG SET-ACTIVE-EXPIRE 1
4694+ } {OK} {needs:debug}
46954695
46964696 test {RESTORE loads expired hash fields} {
46974697 r FLUSHALL
@@ -4716,6 +4716,7 @@ start_server {tags {"hashexpire"}} {
47164716 assert_equal 4 [r HLEN myhash]
47174717 assert_equal " permanent_value" [r HGET myhash permanent]
47184718
4719+ # Re-enable active expiration
47194720 r DEBUG SET-ACTIVE-EXPIRE 1
47204721 } {OK} {needs:debug}
47214722}
You can’t perform that action at this time.
0 commit comments