We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c6d9ce commit d03886aCopy full SHA for d03886a
django/db/backends/postgresql/creation.py
@@ -85,3 +85,7 @@ def _clone_test_db(self, suffix, verbosity, keepdb=False):
85
except Exception as e:
86
self.log("Got an error cloning the test database: %s" % e)
87
sys.exit(2)
88
+
89
+ def _destroy_test_db(self, test_database_name, verbosity):
90
+ self.connection.close_pool()
91
+ return super()._destroy_test_db(test_database_name, verbosity)
0 commit comments