Page MenuHomeSoftware Heritage

tests: remove invalid assertion
ClosedPublic

Authored by vlorentz on Aug 20 2020, 12:46 PM.

Details

Summary

It assumed contents are paginated by their sha1, which is
an implementation detail of the storage (and isn't true for the
cassandra storage, or for the new in-mem).

And it's irrelevant anyway, as it only serves to test the consistency
of swh-storage, not swh-indexer.

Diff Detail

Repository
rDCIDX Metadata indexer
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Build is green

Patch application report for D3816 (id=13431)

Rebasing onto b717a504a8...

Current branch diff-target is up to date.
Changes applied before test
commit 66bbfdf29664e7c5b5afcff16e007302286f0dff
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Thu Aug 20 12:45:32 2020 +0200

    tests: remove invalid assertion
    
    It assumed contents are paginated by their sha1, which is
    an implementation detail of the storage (and isn't true for the
    cassandra storage, or for the new in-mem).
    
    And it's irrelevant anyway, as it only serves to test the consistency
    of swh-storage, not swh-indexer.

See https://jenkins.softwareheritage.org/job/DCIDX/job/tests-on-diff/45/ for more details.

This revision is now accepted and ready to land.Aug 20 2020, 12:55 PM
This revision was automatically updated to reflect the committed changes.