mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Widen up the test timings a bit
This commit is contained in:
parent
10446c0c48
commit
e61fc3ff84
@ -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));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user