Page MenuHomeSoftware Heritage

test_archive: Check against snapshot model object
ClosedPublic

Authored by ardumont on Jul 16 2020, 5:03 PM.

Diff Detail

Repository
rDLDBASE Generic VCS/Package 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 D3533 (id=12472)

Could not rebase; Attempt merge onto f3a15395cd...

Updating f3a1539..d4cce1a
Fast-forward
 swh/loader/package/archive/tests/test_archive.py | 40 ++++++++++++------------
 swh/loader/tests/test_init.py                    | 22 ++++++-------
 2 files changed, 29 insertions(+), 33 deletions(-)
Changes applied before test
commit d4cce1aedda27222ace4853faae67b740a22242e
Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org>
Date:   Thu Jul 16 17:01:45 2020 +0200

    test_archive: Check against snapshot model object
    
    Related to T2494

commit d72fdf04487a1cc0cc7600c0aed97916ddbbfde3
Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org>
Date:   Thu Jul 16 16:49:43 2020 +0200

    test_init: Use snapshot object
    
    That might help solve the inconsistency encountered in [1]
    
    [1] https://jenkins.softwareheritage.org/view/Debian%20packages/job/debian/job/packages/job/DLDBASE/job/gbp-buildpackage/156/console

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

This revision is now accepted and ready to land.Jul 16 2020, 5:47 PM