HomeSoftware Heritage

test_storage: Close all pool connections on teardown
24ea71f77213Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

test_storage: Close all pool connections on teardown

This avoids having a race condition between the tear down and the database
removal, when using more than one connection in the pool.

Details

Provenance
olasdAuthored on Oct 2 2019, 5:07 PM
olasdPushed on Oct 2 2019, 5:23 PM
Parents
R65:c1ce3a14b91b: Add test triggering the race condition in content_add
Branches
Unknown
Tags
Unknown
References
tag: phabricator/diff/6940, tag: phabricator/base/6941

Event Timeline