diff --git a/Snowflake.Data.Tests/IntegrationTests/ConnectionMultiplePoolsIT.cs b/Snowflake.Data.Tests/IntegrationTests/ConnectionMultiplePoolsIT.cs index 345077506..f9ccd5bcb 100644 --- a/Snowflake.Data.Tests/IntegrationTests/ConnectionMultiplePoolsIT.cs +++ b/Snowflake.Data.Tests/IntegrationTests/ConnectionMultiplePoolsIT.cs @@ -190,8 +190,8 @@ public void TestWaitInAQueueForAnIdleSession() CollectionAssert.AreEquivalent(new[] { "A", "B" }, firstConnectedEventsGroup.Select(e => e.ThreadName)); var lastConnectingEventsGroup = connectedEvents.GetRange(2, 2); CollectionAssert.AreEquivalent(new[] { "C", "D" }, lastConnectingEventsGroup.Select(e => e.ThreadName)); - Assert.LessOrEqual(firstConnectedEventsGroup[0].Duration, 1000); - Assert.LessOrEqual(firstConnectedEventsGroup[1].Duration, 1000); + Assert.LessOrEqual(firstConnectedEventsGroup[0].Duration, 1200); + Assert.LessOrEqual(firstConnectedEventsGroup[1].Duration, 1200); // first to wait from C and D should first to connect, because we won't create a new session, we just reuse sessions returned by A and B threads Assert.AreEqual(waitingEvents[0].ThreadName, lastConnectingEventsGroup[0].ThreadName); Assert.AreEqual(waitingEvents[1].ThreadName, lastConnectingEventsGroup[1].ThreadName);