From e61fc3ff84106ac652bdd29911c30f06ab768e3c Mon Sep 17 00:00:00 2001 From: Timothy Baldridge Date: Mon, 27 Sep 2021 23:15:11 -0600 Subject: [PATCH] Widen up the test timings a bit --- Wabbajack.RateLimiter.Test/RateLimiterTests.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Wabbajack.RateLimiter.Test/RateLimiterTests.cs b/Wabbajack.RateLimiter.Test/RateLimiterTests.cs index fb7b6332..e0cc826c 100644 --- a/Wabbajack.RateLimiter.Test/RateLimiterTests.cs +++ b/Wabbajack.RateLimiter.Test/RateLimiterTests.cs @@ -62,7 +62,7 @@ namespace Wabbajack.RateLimiter.Test } var elapsed = sw.Elapsed; - Assert.True(elapsed > TimeSpan.FromSeconds(2)); + Assert.True(elapsed > TimeSpan.FromSeconds(1)); Assert.True(elapsed < TimeSpan.FromSeconds(3)); report = rateLimiter.StatusReport; @@ -93,7 +93,7 @@ namespace Wabbajack.RateLimiter.Test await WhenAll(tasks.ToArray()); var elapsed = sw.Elapsed; - Assert.True(elapsed > TimeSpan.FromSeconds(2)); + Assert.True(elapsed > TimeSpan.FromSeconds(1)); Assert.True(elapsed < TimeSpan.FromSeconds(3)); }