From a36d7f89dfcd12b23d56f3518cb96ca59a0b0de5 Mon Sep 17 00:00:00 2001 From: Doug Beatty <44704949+dbeatty10@users.noreply.github.com> Date: Tue, 10 Oct 2023 18:39:06 -0600 Subject: [PATCH] Use cursor to call `select pg_terminate_backend({pid})` directly Rather than using the `SQLConnectionManager` --- tests/unit/test_redshift_adapter.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/unit/test_redshift_adapter.py b/tests/unit/test_redshift_adapter.py index 7a44d2179..1edea565e 100644 --- a/tests/unit/test_redshift_adapter.py +++ b/tests/unit/test_redshift_adapter.py @@ -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)"), ] )