Page MenuHomeSoftware Heritage

test_storage: Close all pool connections on teardown
ClosedPublic

Authored by olasd on Wed, Oct 2, 5:23 PM.

Details

Summary

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

Test Plan

tox runs without failing

Diff Detail

Repository
rDSTO Storage manager
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.