Skip to content

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.

fix tests

Chris Lu99256100a081
diff --git a/weed/filer2/filechunks_test.go b/weed/filer2/filechunks_test.go
index eadf4d27fb..e886702ff3 100644
--- a/weed/filer2/filechunks_test.go
+++ b/weed/filer2/filechunks_test.go
@@ -52,10 +52,10 @@ func TestCompactFileChunks2(t *testing.T) {
compacted, garbage := CompactFileChunks(chunks)
- if len(compacted) != 3 {
+ if len(compacted) != 4 {
t.Fatalf("unexpected compacted: %d", len(compacted))
}
- if len(garbage) != 9 {
+ if len(garbage) != 8 {
t.Fatalf("unexpected garbage: %d", len(garbage))
}
}