Skip to content

Commit

Permalink
Closed connection pool in clean up of test_allowed_database_copy_quer…
Browse files Browse the repository at this point in the history
…ies.
  • Loading branch information
suraj-ora-2020 authored and sarahboyce committed Sep 13, 2024
1 parent 16af0c6 commit 8dd3f7d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_utils/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -2186,6 +2186,8 @@ def test_allowed_database_copy_queries(self):
finally:
new_connection.validate_thread_sharing()
new_connection._close()
if hasattr(new_connection, "close_pool"):
new_connection.close_pool()


class DatabaseAliasTests(SimpleTestCase):
Expand Down

0 comments on commit 8dd3f7d

Please sign in to comment.