Skip to content

Commit

Permalink
fixign test
Browse files Browse the repository at this point in the history
  • Loading branch information
slorello89 committed Oct 21, 2024
1 parent 861ce1a commit 46b456f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@ public async Task TestUpdateWithTtlAsyncFractionalTimespan()
var secondQueriedP = await collection.FindByIdAsync(key);

Assert.Equal("3600001", ttl.TotalMillisecondsString());
Assert.InRange(ttlFromKey, ttl.TotalMilliseconds - 2000, ttl.TotalMilliseconds);
Assert.InRange(ttlFromKey, ttl.TotalMilliseconds - 2000, ttl.TotalMilliseconds + 1);
Assert.NotNull(secondQueriedP);
Assert.Equal(33, secondQueriedP.Age);
Assert.Equal(secondQueriedP.Id, queriedP.Id);
Expand Down

0 comments on commit 46b456f

Please sign in to comment.