From 7c94eda6996fc608f6d6083be7226dff88b5d4db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Hofman?= Date: Mon, 19 Feb 2024 20:02:53 +0100 Subject: [PATCH] Fix failures on mac --- Snowflake.Data.Tests/IntegrationTests/SFConnectionIT.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Snowflake.Data.Tests/IntegrationTests/SFConnectionIT.cs b/Snowflake.Data.Tests/IntegrationTests/SFConnectionIT.cs index fe9419939..dfaa1f9bf 100644 --- a/Snowflake.Data.Tests/IntegrationTests/SFConnectionIT.cs +++ b/Snowflake.Data.Tests/IntegrationTests/SFConnectionIT.cs @@ -1841,7 +1841,7 @@ public void TestAsyncLoginTimeout() { using (var conn = new MockSnowflakeDbConnection()) { - int timeoutSec = 5; + int timeoutSec = 15; string loginTimeOut5sec = String.Format(ConnectionString + "connection_timeout={0};maxHttpRetries=0", timeoutSec); conn.ConnectionString = loginTimeOut5sec; @@ -1951,7 +1951,7 @@ public void TestAsyncConnectionFailFast() using (var conn = new SnowflakeDbConnection()) { // Just a way to get a 404 on the login request and make sure there are no retry - string invalidConnectionString = "host=learn.microsoft.com;" + string invalidConnectionString = "host=learn.microsoft.com/force404" + "connection_timeout=0;account=testFailFast;user=testFailFast;password=testFailFast;"; conn.ConnectionString = invalidConnectionString;