Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ jobs:
run: dotnet test -c ${{ matrix.config }} --logger "GitHubActions;report-warnings=false"
shell: bash
env:
Test__Npgsql__DefaultConnection: Server=localhost;Username=npgsql_tests;Password=npgsql_tests
Test__Npgsql__DefaultConnection: Server=localhost;Username=npgsql_tests;Password=npgsql_tests;SSL Mode=Disable

- id: analyze_tag
name: Analyze tag
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -341,8 +341,7 @@ private static T ExecuteCommand<T>(
}
finally
{
if (connection.State == ConnectionState.Closed
&& connection.State != ConnectionState.Closed)
if (connection.State != ConnectionState.Closed)
{
connection.Close();
}
Expand Down Expand Up @@ -389,8 +388,7 @@ private static async Task<T> ExecuteCommandAsync<T>(
}
finally
{
if (connection.State == ConnectionState.Closed
&& connection.State != ConnectionState.Closed)
if (connection.State != ConnectionState.Closed)
{
await connection.CloseAsync();
}
Expand Down
Loading