HomeSoftware Heritage

Add test to ensure storage/objstorage consistency is kept at all times

Description

Add test to ensure storage/objstorage consistency is kept at all times

Summary:
The behavior of storage when the underlying objstorage had an exception was
never actually tested. This new test weeded out a bug in the threaded
implementation for copy_to.

Test Plan: the new test passes

Reviewers: Reviewers!

Differential Revision: https://forge.softwareheritage.org/D330

Details

Provenance
olasdAuthored on May 11 2018, 12:10 PM
olasdPushed on May 12 2018, 5:47 PM
Differential Revision
D330: Add test to ensure storage/objstorage consistency is kept at all times
Parents
rDSTO18c9dad986a1: Only instantiate the storage backend once per import
Branches
Unknown
Tags
Unknown