Page MenuHomeSoftware Heritage

tests: Don't check the number of created 'person' objects
ClosedPublic

Authored by ardumont on Sep 18 2020, 1:26 PM.

Details

Summary

They are an implementation detail of storage backends; and get_stats() will
stop returning the 'person' count in the next version of swh-storage-core.

Fixes build [1]

[1] https://jenkins.softwareheritage.org/job/DLDSVN/job/tests/820/console
[2] https://jenkins.softwareheritage.org/job/DENV/job/tests/lastBuild/console

Similar to D3978

Test Plan

tox

Diff Detail

Event Timeline

Build is green

Patch application report for D3985 (id=14054)

Rebasing onto 40f407c718...

Current branch diff-target is up to date.
Changes applied before test
commit 47b03e19593ddaf438a1036703042fb0ab911f16
Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org>
Date:   Fri Sep 18 13:26:17 2020 +0200

    tests: Don't check the number of created 'person' objects
    
    Fixes build [1]
    
    [1] https://jenkins.softwareheritage.org/job/DLDSVN/job/tests/820/console
    [2] https://jenkins.softwareheritage.org/job/DENV/job/tests/lastBuild/console

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

This revision is now accepted and ready to land.Sep 18 2020, 2:49 PM