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 test
Chris Lucd7ce720c779
diff --git a/weed/storage/needle/needle_read_write_test.go b/weed/storage/needle/needle_read_write_test.goindex 4c507f9e6d..7b05d5d10e 100644--- a/weed/storage/needle/needle_read_write_test.go+++ b/weed/storage/needle/needle_read_write_test.go@@ -5,6 +5,7 @@ import ("os""testing"+ "github.com/chrislusf/seaweedfs/weed/storage/backend""github.com/chrislusf/seaweedfs/weed/storage/types")@@ -54,7 +55,10 @@ func TestAppend(t *testing.T) {os.Remove(tempFile.Name())}()- offset, _, _, _ := n.Append(tempFile, CurrentVersion)+ datBackend := backend.NewDiskFile(tempFile.Name(), tempFile)+ defer datBackend.Close()++ offset, _, _, _ := n.Append(datBackend, CurrentVersion)if offset != uint64(fileSize) {t.Errorf("Fail to Append Needle.")}