Skip to content
Snippets Groups Projects
Commit ff2d37d7 authored by Nicolas Dandrimont's avatar Nicolas Dandrimont
Browse files

Deallocate storage when the tests teardown

Summary: Helps avoid lingering postgresql connections when a test fails

Test Plan: make test still works ;)

Reviewers: #reviewers!

Differential Revision: https://forge.softwareheritage.org/D322
parent 9ca8f7a5
No related branches found
No related tags found
1 merge request!75Deallocate storage when the tests teardown
......@@ -55,6 +55,7 @@ class StorageTestFixture:
def tearDown(self):
self.objtmp.cleanup()
self.storage = None
super().tearDown()
def reset_storage_tables(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment