diff --git a/Snowflake.Data.Tests/IntegrationTests/SFConnectionIT.cs b/Snowflake.Data.Tests/IntegrationTests/SFConnectionIT.cs index d58bfe53c..ee58ee260 100644 --- a/Snowflake.Data.Tests/IntegrationTests/SFConnectionIT.cs +++ b/Snowflake.Data.Tests/IntegrationTests/SFConnectionIT.cs @@ -1743,12 +1743,12 @@ public void TestAsyncLoginTimeout() } stopwatch.Stop(); - int detla = 10; //in case server time slower. + int delta = 100; // in case server time slower. // Should timeout after the minimum possible timeout with jitter: 14 seconds (50% of 4 * 2) after 7 retries Assert.GreaterOrEqual(stopwatch.ElapsedMilliseconds, 14 * 1000); // Should timeout before the defined connection timeout - Assert.LessOrEqual(stopwatch.ElapsedMilliseconds, timeoutSec * 1000 + detla); + Assert.LessOrEqual(stopwatch.ElapsedMilliseconds, timeoutSec * 1000 + delta); Assert.AreEqual(ConnectionState.Closed, conn.State); Assert.AreEqual(timeoutSec, conn.ConnectionTimeout);