Page MenuHomeSoftware Heritage

Remove test_content_*_same_input, which check for behavior we do not want to guarantee.
ClosedPublic

Authored by vlorentz on Jan 16 2020, 3:30 PM.

Details

Summary

They check that content_add deduplicates with existing content/duplicated
input.
This is unneeded (the loaders don't send such data), so providing these
guarantees unnecessarily complicates swh-storage code, especially the
upcoming Cassandra backend.

Diff Detail

Repository
rDSTO Storage manager
Branch
test_content-same_input
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 10148
Build 15053: tox-on-jenkinsJenkins
Build 15052: arc lint + arc unit

Event Timeline

This revision is now accepted and ready to land.Jan 17 2020, 11:26 AM
This revision was landed with ongoing or failed builds.Jan 17 2020, 3:10 PM
This revision was automatically updated to reflect the committed changes.