SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.
Go blob-storagecloud-drivedistributed-file-systemdistributed-storageerasure-codingfusehadoop-hdfshdfskuberneteslancelancedbobject-storageposixs3s3-storageseaweedfstiered-file-systemvector-search
fix tests
Chris Lu3b4b1d4a77f6
diff --git a/weed/storage/needle_map/compact_map_test.go b/weed/storage/needle_map/compact_map_test.goindex c6bfb97b47..199cb26b3a 100644--- a/weed/storage/needle_map/compact_map_test.go+++ b/weed/storage/needle_map/compact_map_test.go@@ -129,8 +129,8 @@ func TestOverflow(t *testing.T) {cs.deleteOverflowEntry(4)- if len(cs.overflow) != 4 {- t.Fatalf("expecting 4 entries now: %+v", cs.overflow)+ if len(cs.overflow) != 5 {+ t.Fatalf("expecting 5 entries now: %+v", cs.overflow)}_, x, _ := cs.findOverflowEntry(5)@@ -146,7 +146,7 @@ func TestOverflow(t *testing.T) {cs.deleteOverflowEntry(1)for i, x := range cs.overflow {- println("overflow[", i, "]:", x.Key)+ println("overflow[", i, "]:", x.Key, "size", x.Size)}println()diff --git a/weed/storage/volume_vacuum_test.go b/weed/storage/volume_vacuum_test.goindex 23b43fa408..f96e9b0cf9 100644--- a/weed/storage/volume_vacuum_test.go+++ b/weed/storage/volume_vacuum_test.go@@ -113,7 +113,7 @@ func TestCompaction(t *testing.T) {}n := newEmptyNeedle(uint64(i))- size, err := v.readNeedle(n)+ size, err := v.readNeedle(n, nil)if err != nil {t.Fatalf("read file %d: %v", i, err)}