diff --git a/Snowflake.Data.Tests/UnitTests/Session/SemaphoreBasedQueueTest.cs b/Snowflake.Data.Tests/UnitTests/Session/SemaphoreBasedQueueTest.cs index c39ae2a7a..de7e25ed4 100644 --- a/Snowflake.Data.Tests/UnitTests/Session/SemaphoreBasedQueueTest.cs +++ b/Snowflake.Data.Tests/UnitTests/Session/SemaphoreBasedQueueTest.cs @@ -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] @@ -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]