Skip to content

Commit

Permalink
change test params
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-knozderko committed Aug 2, 2024
1 parent 0d57776 commit e59c40e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Snowflake.Data.Tests/IntegrationTests/SFConnectionIT.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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<AggregateException>(() => connection.OpenAsync(shortCancellation.Token).Wait());
Expand Down

0 comments on commit e59c40e

Please sign in to comment.