diff options
| author | suraj <suraj.shaw@oracle.com> | 2024-09-13 11:13:50 +0200 |
|---|---|---|
| committer | Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> | 2024-09-13 12:37:37 +0200 |
| commit | 8dd3f7d538320f6f94210e4944fc8d39c4a9967b (patch) | |
| tree | f6a551eb01da9523d09ccf790d331229c0b15285 /tests/test_utils | |
| parent | 16af0c60ed90813ed70ecef4e64a89301ed0f0a2 (diff) | |
Closed connection pool in clean up of test_allowed_database_copy_queries.
Diffstat (limited to 'tests/test_utils')
| -rw-r--r-- | tests/test_utils/tests.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_utils/tests.py b/tests/test_utils/tests.py index 60b65e309a..1110466fcf 100644 --- a/tests/test_utils/tests.py +++ b/tests/test_utils/tests.py @@ -2186,6 +2186,8 @@ class AllowedDatabaseQueriesTests(SimpleTestCase): finally: new_connection.validate_thread_sharing() new_connection._close() + if hasattr(new_connection, "close_pool"): + new_connection.close_pool() class DatabaseAliasTests(SimpleTestCase): |
