Page MenuHomeSoftware Heritage

Make the storage test fixture connect to postgres itself
ClosedPublic

Authored by olasd on May 7 2018, 3:43 PM.

Details

Summary

This avoids reusing a potentially stale connection handle. Also allows testing
potential connection pooling behavior.

This forces us to do proper cursor sanitation as well, a bunch of
"transactional" operations weren't actually transactional.

Test Plan

another round of make test still working

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.