Widen up the test timings a bit

This commit is contained in:
Timothy Baldridge 2021-09-27 23:15:11 -06:00
parent 10446c0c48
commit e61fc3ff84

View File

@ -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));
}