From e59c40e470bb0c21b64e395b3103d9168a1f35e6 Mon Sep 17 00:00:00 2001 From: Krzysztof Nozderko Date: Fri, 2 Aug 2024 18:25:56 +0000 Subject: [PATCH] change test params --- Snowflake.Data.Tests/IntegrationTests/SFConnectionIT.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Snowflake.Data.Tests/IntegrationTests/SFConnectionIT.cs b/Snowflake.Data.Tests/IntegrationTests/SFConnectionIT.cs index 8ab8f9e3b..5f08e4051 100644 --- a/Snowflake.Data.Tests/IntegrationTests/SFConnectionIT.cs +++ b/Snowflake.Data.Tests/IntegrationTests/SFConnectionIT.cs @@ -2300,7 +2300,7 @@ public void TestOpenAsyncThrowExceptionWhenOperationIsCancelled() var connectionString = "account=testAccount;user=testUser;password=testPassword;useProxy=true;proxyHost=no.such.pro.xy;proxyPort=8080;"; using (var connection = new SnowflakeDbConnection(connectionString)) { - var shortCancellation = new CancellationTokenSource(TimeSpan.FromMilliseconds(10)); + var shortCancellation = new CancellationTokenSource(TimeSpan.FromSeconds(5)); // act var thrown = Assert.Throws(() => connection.OpenAsync(shortCancellation.Token).Wait());