Skip to content

Commit

Permalink
Revert "disable pooling"
Browse files Browse the repository at this point in the history
This reverts commit 158ec03.
  • Loading branch information
DavoudEshtehari committed Jul 21, 2023
1 parent 158ec03 commit efbf329
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ public void ConnectionTimeoutTest(int timeout)
{
// Start a server with connection timeout from the inline data.
using TestTdsServer server = TestTdsServer.StartTestServer(false, false, timeout);
using SqlConnection connection = new SqlConnection(server.ConnectionString +"; pooling=false;");
using SqlConnection connection = new SqlConnection(server.ConnectionString);

// Dispose the server to force connection timeout
server.Dispose();
Expand Down Expand Up @@ -303,7 +303,7 @@ public async void ConnectionTimeoutTestAsync(int timeout)
{
// Start a server with connection timeout from the inline data.
using TestTdsServer server = TestTdsServer.StartTestServer(false, false, timeout);
using SqlConnection connection = new SqlConnection(server.ConnectionString + "; pooling=false;");
using SqlConnection connection = new SqlConnection(server.ConnectionString);

// Dispose the server to force connection timeout
server.Dispose();
Expand Down

0 comments on commit efbf329

Please sign in to comment.