Skip to content

Commit

Permalink
more test fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
slorello89 committed Oct 21, 2024
1 parent d64d149 commit c4496fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/Redis.OM.Unit.Tests/CoreTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public void ExpireFractionalMillisecond()
var jsonObjWithExpire = new BasicJsonObject { Name = "JsonWithExpire" };
var key = connection.Set(jsonObjWithExpire, TimeSpan.FromMilliseconds(5000.5));
var ttl = (long)connection.Execute("PTTL", key);
Assert.True(ttl <= 5000.5);
Assert.True(ttl <= 5001);
Assert.True(ttl >= 1000);
}

Expand Down

0 comments on commit c4496fa

Please sign in to comment.