From a567465ac264a4fceb48ff5e6d55b1817d0da4d5 Mon Sep 17 00:00:00 2001 From: Krzysztof Nozderko Date: Wed, 3 Jan 2024 16:13:27 +0100 Subject: [PATCH] tiny change --- .../UnitTests/Session/SemaphoreBasedQueueTest.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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]