mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-02-15 12:45:01 +00:00
make timed tests more forgiving
This commit is contained in:
@@ -77,9 +77,9 @@ namespace ICD.Common.Utils.Tests.Timers
|
||||
int called = 0;
|
||||
SafeTimer timer = SafeTimer.Stopped(() => called++);
|
||||
|
||||
timer.Reset(10, 10);
|
||||
timer.Reset(100, 100);
|
||||
|
||||
ThreadingUtils.Sleep(50);
|
||||
ThreadingUtils.Sleep(500);
|
||||
|
||||
Assert.AreEqual(4, called, 2);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user