mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-22 22:14:44 -04:00
Upgrade to NUnit3
This commit is contained in:
@@ -89,7 +89,7 @@ namespace NzbDrone.Common.Test.CacheTests
|
||||
int hitCount = 0;
|
||||
_cachedString = new Cached<string>();
|
||||
|
||||
for (int i = 0; i < 100; i++)
|
||||
for (int i = 0; i < 10; i++)
|
||||
{
|
||||
_cachedString.Get("key", () =>
|
||||
{
|
||||
@@ -97,7 +97,7 @@ namespace NzbDrone.Common.Test.CacheTests
|
||||
return null;
|
||||
}, TimeSpan.FromMilliseconds(300));
|
||||
|
||||
Thread.Sleep(10);
|
||||
Thread.Sleep(100);
|
||||
}
|
||||
|
||||
hitCount.Should().BeInRange(3, 6);
|
||||
|
||||
Reference in New Issue
Block a user