Skip to content

Commit

Permalink
Use cursor to call select pg_terminate_backend({pid}) directly
Browse files Browse the repository at this point in the history
Rather than using the `SQLConnectionManager`
  • Loading branch information
dbeatty10 authored Oct 11, 2023
1 parent f22315e commit a36d7f8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tests/unit/test_redshift_adapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,6 @@ def test_cancel_open_connections_single(self):
add_query.assert_has_calls(
[
call("select pg_backend_pid()"),
call("select pg_terminate_backend(42)"),
]
)

Expand Down

0 comments on commit a36d7f8

Please sign in to comment.