From efbf329b35a4e68dac65ad712904ea5afb21bd95 Mon Sep 17 00:00:00 2001 From: Davoud Date: Thu, 20 Jul 2023 19:21:45 -0700 Subject: [PATCH] Revert "disable pooling" This reverts commit 158ec039b4c61f27756ac1232884ab5d37168ed1. --- .../tests/FunctionalTests/SqlConnectionBasicTests.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Microsoft.Data.SqlClient/tests/FunctionalTests/SqlConnectionBasicTests.cs b/src/Microsoft.Data.SqlClient/tests/FunctionalTests/SqlConnectionBasicTests.cs index b2118ba705..c4b0707e98 100644 --- a/src/Microsoft.Data.SqlClient/tests/FunctionalTests/SqlConnectionBasicTests.cs +++ b/src/Microsoft.Data.SqlClient/tests/FunctionalTests/SqlConnectionBasicTests.cs @@ -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(); @@ -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();