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 test
Chris Lu280ab7f95cdb
diff --git a/weed/util/skiplist/skiplist_test.go b/weed/util/skiplist/skiplist_test.goindex 115656cd9f..a35bef6f39 100644--- a/weed/util/skiplist/skiplist_test.go+++ b/weed/util/skiplist/skiplist_test.go@@ -16,6 +16,21 @@ var (memStore = newMemStore())+func TestReverseInsert(t *testing.T) {+ list := NewSeed(100, memStore)++ list.Insert([]byte("zzz"), []byte("zzz"))+ list.Delete([]byte("zzz"))++ list.Insert([]byte("aaa"), []byte("aaa"))++ if list.IsEmpty() {+ t.Fail()+ }++}++func TestInsertAndFind(t *testing.T) {k0 := []byte("0")