Skip to content

Commit

Permalink
Update src/test/java/redis/clients/jedis/commands/jedis/AllKindOfValu…
Browse files Browse the repository at this point in the history
…esCommandsTest.java

Co-authored-by: M Sazzadul Hoque <[email protected]>
  • Loading branch information
ggivo and sazzad16 authored Nov 29, 2024
1 parent bc9b007 commit 4445bf6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,7 @@ public void restoreParams() {
assertTrue(jedis2.pttl("foo") <= 1000);

jedis2.restore("bar", System.currentTimeMillis() + 1000, serialized, RestoreParams.restoreParams().replace().absTtl());
assertThat("ttl", jedis2.pttl("bar"), lessThanOrEqualTo(1000l + TIME_SKEW));
assertThat(jedis2.pttl("bar"), lessThanOrEqualTo(1000l + TIME_SKEW));


jedis2.restore("bar1", 1000, serialized, RestoreParams.restoreParams().replace().idleTime(1000));
Expand Down

0 comments on commit 4445bf6

Please sign in to comment.