Page MenuHomeSoftware Heritage

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

Authored by ardumont on Sep 18 2020, 1:21 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 builds [1] [2]

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

Similar to D3978

Test Plan

tox

Diff Detail

Repository
rDLDHG Mercurial loader
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 D3984 (id=14053)

Rebasing onto 6d22cbebd2...

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

    tests: Don't check the number of created 'person' objects
    
    Fixes build [1]
    
    [1] https://jenkins.softwareheritage.org/job/DLDHG/job/tests/793

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

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