Skip to content

Commit

Permalink
test: Fix a flicker in SimpleCacheTests (#2417)
Browse files Browse the repository at this point in the history
  • Loading branch information
tippmar-nr authored Apr 19, 2024
1 parent 7f87937 commit 73a15dc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ public void CacheMaintenanceThreadMaintainsCache()
cache.GetOrAdd("key1", () => "value1");
cache.GetOrAdd("key2", () => "value2");

Thread.Sleep(1000);
Thread.Sleep(2500); // unnecessarily long, but should eliminate test flickers

EvaluateCacheMetrics(cache, 0, 2, 2, 0);
}
Expand Down

0 comments on commit 73a15dc

Please sign in to comment.