Page MenuHomeSoftware Heritage

Add simple unit test for the backfill.byte_ranges function
ClosedPublic

Authored by olasd on Mar 10 2021, 9:35 AM.

Diff Detail

Repository
rDSTO Storage manager
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Build was aborted

Patch application report for D5225 (id=18713)

Could not rebase; Attempt merge onto 88ff2c2fa0...

Updating 88ff2c2f..89ae0a14
Fast-forward
 swh/storage/postgresql/converters.py            | 12 +++++++--
 swh/storage/tests/test_backfill.py              | 23 +++++++++++++++-
 swh/storage/tests/test_postgresql_converters.py | 36 ++++++++++++++++++++++++-
 3 files changed, 67 insertions(+), 4 deletions(-)
Changes applied before test
commit 89ae0a148351c2dcb36d55f1e9cfaffa3158ec14
Author: Nicolas Dandrimont <nicolas@dandrimont.eu>
Date:   Tue Mar 9 17:40:27 2021 +0100

    Add simple unit test for the backfill.byte_ranges function

commit 0d785d239eb9a53705c9e23fa183344a2606a5a5
Author: Nicolas Dandrimont <nicolas@dandrimont.eu>
Date:   Tue Mar 9 17:43:51 2021 +0100

    Add support for reading RawExtrinsicMetadata with raw URL targets
    
    We convert the target attribute to a hashed ExtendedSWHID before
    returning the object.

Link to build: https://jenkins.softwareheritage.org/job/DSTO/job/tests-on-diff/1198/
See console output for more information: https://jenkins.softwareheritage.org/job/DSTO/job/tests-on-diff/1198/console

Harbormaster returned this revision to the author for changes because remote builds failed.Mar 10 2021, 10:00 AM
Harbormaster failed remote builds in B19808: Diff 18713!

Build is green

Patch application report for D5225 (id=18713)

Could not rebase; Attempt merge onto 88ff2c2fa0...

Updating 88ff2c2f..89ae0a14
Fast-forward
 swh/storage/postgresql/converters.py            | 12 +++++++--
 swh/storage/tests/test_backfill.py              | 23 +++++++++++++++-
 swh/storage/tests/test_postgresql_converters.py | 36 ++++++++++++++++++++++++-
 3 files changed, 67 insertions(+), 4 deletions(-)
Changes applied before test
commit 89ae0a148351c2dcb36d55f1e9cfaffa3158ec14
Author: Nicolas Dandrimont <nicolas@dandrimont.eu>
Date:   Tue Mar 9 17:40:27 2021 +0100

    Add simple unit test for the backfill.byte_ranges function

commit 0d785d239eb9a53705c9e23fa183344a2606a5a5
Author: Nicolas Dandrimont <nicolas@dandrimont.eu>
Date:   Tue Mar 9 17:43:51 2021 +0100

    Add support for reading RawExtrinsicMetadata with raw URL targets
    
    We convert the target attribute to a hashed ExtendedSWHID before
    returning the object.

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

This revision is now accepted and ready to land.Mar 10 2021, 1:27 PM