We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c4ddca commit 7ad2b99Copy full SHA for 7ad2b99
UnitTests/EvictionCallbackTests.cs
@@ -26,7 +26,7 @@ public async Task WhenItemExpires_EvictionCallbackFires()
26
_cache.AddOrUpdate(key, "value", TimeSpan.FromMilliseconds(1));
27
28
// Act
29
- await Task.Delay(110); // Wait for expiration
+ await Task.Delay(120); // Wait for expiration background job
30
31
// Assert
32
Assert.AreEqual(1, _evictedKeys.Count);
@@ -72,7 +72,7 @@ public async Task AutomaticCleanup_FiresCallback()
72
_cache.AddOrUpdate("key", "value", TimeSpan.FromMilliseconds(1));
73
74
75
- await Task.Delay(110); // Wait for cleanup job
+ await Task.Delay(120); // Wait for cleanup job
76
77
78
0 commit comments