Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port connection pool tests from devdiv #1155

Merged
merged 17 commits into from
Sep 20, 2021
Prev Previous commit
trigger ci
  • Loading branch information
Johnny Pham committed Sep 17, 2021
commit 8cb4f605c085df832730ffefa93ae3cdd42e9d2b
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public static void TransactionCleanupTest(string connectionString)
SqlConnection.ClearAllPools();
ConnectionPoolWrapper connectionPool = null;

using (TransactionScope transScope = new TransactionScope())
using (TransactionScope transScope = new())
{
using SqlConnection connection1 = new(connectionString);
using SqlConnection connection2 = new(connectionString);
Expand Down