Browse Source

fix tests

pull/1444/head
Chris Lu 5 years ago
parent
commit
d91ec535b3
  1. 4
      weed/filer/leveldb/leveldb_store_test.go
  2. 4
      weed/filer/leveldb2/leveldb2_store_test.go

4
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,

4
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,

Loading…
Cancel
Save