Page MenuHomeSoftware Heritage

Use get_objstorage in seaweedfs tests instead of direct class instanciation
ClosedPublic

Authored by douardda on Oct 21 2021, 1:06 PM.

Diff Detail

Repository
rDOBJS Object storage
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 D6525 (id=23721)

Could not rebase; Attempt merge onto 6269067ca7...

Updating 6269067..82d9714
Fast-forward
 swh/objstorage/factory.py                         | 11 +++++++++--
 swh/objstorage/tests/test_objstorage_seaweedfs.py |  6 ++++--
 2 files changed, 13 insertions(+), 4 deletions(-)
Changes applied before test
commit 82d9714b0ae5a3687da331c2198010b8d62c8c0b
Author: David Douard <david.douard@sdfa3.org>
Date:   Thu Oct 21 09:58:06 2021 +0200

    Use get_objstorage in seaweedfs tests instead of direct class
    instanciation

commit 38c02dcfae2baa141c7149d5556123fe7341b54b
Author: David Douard <david.douard@sdfa3.org>
Date:   Thu Oct 21 09:55:50 2021 +0200

    Add support for deprecation of objstorage cls in factory
    
    and deprecate "weed" in favor of "seaweedfs".

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

This revision is now accepted and ready to land.Oct 21 2021, 1:19 PM