Skip to content

Commit

Permalink
do not return mocked connections to pool
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-knozderko committed Apr 23, 2024
1 parent 4ecd4c6 commit 0f05d05
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Snowflake.Data.Tests/IntegrationTests/SFDbCommandIT.cs
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ public void TestExecuteAsyncWithMaxRetryReached()

using (DbConnection conn = new MockSnowflakeDbConnection(mockRestRequester))
{
string maxRetryConnStr = ConnectionString + "maxHttpRetries=8";
string maxRetryConnStr = ConnectionString + "maxHttpRetries=8;poolingEnabled=false";

conn.ConnectionString = maxRetryConnStr;
conn.Open();
Expand Down Expand Up @@ -945,7 +945,7 @@ public void TestExecuteWithMaxRetryReached()

using (IDbConnection conn = new MockSnowflakeDbConnection(mockRestRequester))
{
string maxRetryConnStr = ConnectionString + "maxHttpRetries=8";
string maxRetryConnStr = ConnectionString + "maxHttpRetries=8;poolingEnabled=false";

conn.ConnectionString = maxRetryConnStr;
conn.Open();
Expand Down

0 comments on commit 0f05d05

Please sign in to comment.