diff --git a/test/Redis.OM.Unit.Tests/CoreTests.cs b/test/Redis.OM.Unit.Tests/CoreTests.cs index 960df96..c9e1819 100644 --- a/test/Redis.OM.Unit.Tests/CoreTests.cs +++ b/test/Redis.OM.Unit.Tests/CoreTests.cs @@ -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); }