HomeSoftware Heritage

Improve tests of the seaweedfs backend

Description

Improve tests of the seaweedfs backend

tests for this backend are now much more realistic,
mocking a seaweedfs Filer server instead of the WeedFiler directly.

And actually fix a bug in WeedFiler.get()...

Also remove tests for each compression algo, keeping only one
is enought.

Details

Provenance
douarddaAuthored on Oct 8 2021, 2:01 PM
douarddaPushed on Oct 20 2021, 2:40 PM
Differential Revision
D6517: Improve tests of the seaweedfs backend
Parents
rDOBJS23b7f81c1483: Extract the path slicing logic in a dedicated PathSlicer class
Branches
Unknown
Tags
Unknown
Build Status
Buildable 24584
Build 38360: test-and-buildJenkins console · Jenkins