Page MenuHomeSoftware Heritage

test_storage: Use the db_transaction context manager instead of raw connections
ClosedPublic

Authored by olasd on Oct 2 2019, 5:25 PM.

Details

Summary

This minimizes the risk of dangling db connections, which in turn reduces the
chance of cascading test failures.

Depends on D2067

Test Plan

tox runs without issue

Diff Detail

Repository
rDSTO Storage manager
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 8087
Build 11661: tox-on-jenkinsJenkins
Build 11660: arc lint + arc unit