HomeSoftware Heritage

test_storage: Close all pool connections on teardown

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
vlorentzPushed on Oct 30 2019, 5:21 PM
Differential Revision
D2064: test_storage: Close all pool connections on teardown
Parents
rDSTOCc1ce3a14b91b: Add test triggering the race condition in content_add
Branches
Unknown
Tags
Unknown