Skip to content

Commit e7c30c3

Browse files
committed
Rollback unintended change
1 parent 009a227 commit e7c30c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/test_rdb_to_redis.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -205,8 +205,8 @@ static void test_rdb_to_redis_hash_with_expire(void **state) {
205205
sendRedisCmd("HSET myhash f4 v1 f5 v2 f6 v3", REDIS_REPLY_INTEGER, "3");
206206
sendRedisCmd("HPEXPIREAT myhash 70368744177663 FIELDS 2 f4 f5",
207207
REDIS_REPLY_ARRAY, "1 1"); /*time=0x3fffffffffff*/
208-
rdb_save_librdb_reload_eq(0 /*restore*/, TMP_FOLDER("expire.rdb")); /// <<<< ----- problem here
209-
//rdb_save_librdb_reload_eq(1 /*restore*/, TMP_FOLDER("expire.rdb"));
208+
rdb_save_librdb_reload_eq(0 /*restore*/, TMP_FOLDER("expire.rdb"));
209+
rdb_save_librdb_reload_eq(1 /*restore*/, TMP_FOLDER("expire.rdb"));
210210
sendRedisCmd("HPEXPIRETIME myhash FIELDS 3 f4 f5 f6", REDIS_REPLY_ARRAY,
211211
"70368744177663 70368744177663 -1"); /* verify expected output */
212212
}

0 commit comments

Comments
 (0)