Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Are connections getting carried over in the pool somehow?
  • Loading branch information
mdaigle committed Oct 30, 2025
commit c3940ef5b4df46b8849fdaee2adf115c4a170931
Original file line number Diff line number Diff line change
Expand Up @@ -570,6 +570,8 @@ public void TransientFault_IgnoreServerProvidedFailoverPartner_ShouldConnectToUs
MinPoolSize = 1
};
SqlConnection connection = new(builder.ConnectionString);
// Clear the pool to ensure a new physical connection is created
SqlConnection.ClearPool(connection);

// Connect once to the primary to trigger it to send the failover partner
connection.Open();
Expand Down
Loading