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
add some tests
Chris Lue7e86917202b
diff --git a/weed/filesys/dirty_page_interval_test.go b/weed/filesys/dirty_page_interval_test.goindex 184be2f3b7..ab3b37b7c2 100644--- a/weed/filesys/dirty_page_interval_test.go+++ b/weed/filesys/dirty_page_interval_test.go@@ -35,6 +35,23 @@ func TestContinuousIntervals_AddIntervalFullOverwrite(t *testing.T) {c := &ContinuousIntervals{}+ // 1,+ c.AddInterval(getBytes(1, 1), 0)+ // _, 2,+ c.AddInterval(getBytes(2, 1), 1)+ // _, _, 3, 3, 3+ c.AddInterval(getBytes(3, 3), 2)+ // _, _, _, 4, 4, 4+ c.AddInterval(getBytes(4, 3), 3)++ expectedData(t, c, 0, 1, 2, 3, 4, 4, 4)++}++func TestContinuousIntervals_RealCase1(t *testing.T) {++ c := &ContinuousIntervals{}+// 25,c.AddInterval(getBytes(25, 1), 0)// _, _, _, _, 23, 23