Skip to content

Commit

Permalink
tiny change
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-knozderko committed Jan 3, 2024
1 parent 9593408 commit a567465
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public void TestWaitForTheResourceUntilTimeout()
// assert
Assert.IsFalse(result);
Assert.GreaterOrEqual(watch.ElapsedMilliseconds, 50); // sometimes Wait takes a bit smaller amount of time than it should. Thus we expect it to be greater than 45, not just 50.
Assert.LessOrEqual(watch.ElapsedMilliseconds, 120);
Assert.LessOrEqual(watch.ElapsedMilliseconds, 150);
}

[Test]
Expand All @@ -43,7 +43,7 @@ public void TestWaitForTheResourceUntilCancellation()
// assert
Assert.IsFalse(result);
Assert.GreaterOrEqual(watch.ElapsedMilliseconds, 45); // sometimes Wait takes a bit smaller amount of time than it should. Thus we expect it to be greater than 45, not just 50.
Assert.LessOrEqual(watch.ElapsedMilliseconds, 120);
Assert.LessOrEqual(watch.ElapsedMilliseconds, 150);
}

[Test]
Expand Down

0 comments on commit a567465

Please sign in to comment.