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 Lud91ec535b32e
diff --git a/weed/filer/leveldb/leveldb_store_test.go b/weed/filer/leveldb/leveldb_store_test.go
index df196b02ec..d656c690a2 100644
--- a/weed/filer/leveldb/leveldb_store_test.go
+++ b/weed/filer/leveldb/leveldb_store_test.go
@@ -6,7 +6,7 @@ import (
"os"
"testing"
- "github.com/chrislusf/seaweedfs/weed/filer"
+ filer2 "github.com/chrislusf/seaweedfs/weed/filer"
"github.com/chrislusf/seaweedfs/weed/util"
)
@@ -22,7 +22,7 @@ func TestCreateAndFind(t *testing.T) {
ctx := context.Background()
- entry1 := &filer.Entry{
+ entry1 := &filer2.Entry{
FullPath: fullpath,
Attr: filer.Attr{
Mode: 0440,
diff --git a/weed/filer/leveldb2/leveldb2_store_test.go b/weed/filer/leveldb2/leveldb2_store_test.go
index 191de00404..8939720ee8 100644
--- a/weed/filer/leveldb2/leveldb2_store_test.go
+++ b/weed/filer/leveldb2/leveldb2_store_test.go
@@ -6,7 +6,7 @@ import (
"os"
"testing"
- "github.com/chrislusf/seaweedfs/weed/filer"
+ filer2 "github.com/chrislusf/seaweedfs/weed/filer"
"github.com/chrislusf/seaweedfs/weed/util"
)
@@ -22,7 +22,7 @@ func TestCreateAndFind(t *testing.T) {
ctx := context.Background()
- entry1 := &filer.Entry{
+ entry1 := &filer2.Entry{
FullPath: fullpath,
Attr: filer.Attr{
Mode: 0440,