mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
fix: ut test error
This commit is contained in:
parent
81cce4b4c3
commit
ee5417a5b3
|
@ -31,7 +31,7 @@ func TestCreateAndFind(t *testing.T) {
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
if err := testFiler.CreateEntry(ctx, entry1, false, false, nil); err != nil {
|
if err := testFiler.CreateEntry(ctx, entry1, false, false, nil,true); err != nil {
|
||||||
t.Errorf("create entry %v: %v", entry1.FullPath, err)
|
t.Errorf("create entry %v: %v", entry1.FullPath, err)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
|
@ -28,7 +28,7 @@ func TestCreateAndFind(t *testing.T) {
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
if err := testFiler.CreateEntry(ctx, entry1, false, false, nil); err != nil {
|
if err := testFiler.CreateEntry(ctx, entry1, false, false, nil,true); err != nil {
|
||||||
t.Errorf("create entry %v: %v", entry1.FullPath, err)
|
t.Errorf("create entry %v: %v", entry1.FullPath, err)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
|
@ -28,7 +28,7 @@ func TestCreateAndFind(t *testing.T) {
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
if err := testFiler.CreateEntry(ctx, entry1, false, false, nil); err != nil {
|
if err := testFiler.CreateEntry(ctx, entry1, false, false, nil,true); err != nil {
|
||||||
t.Errorf("create entry %v: %v", entry1.FullPath, err)
|
t.Errorf("create entry %v: %v", entry1.FullPath, err)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
|
@ -34,7 +34,7 @@ func TestCreateAndFind(t *testing.T) {
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
if err := testFiler.CreateEntry(ctx, entry1, false, false, nil); err != nil {
|
if err := testFiler.CreateEntry(ctx, entry1, false, false, nil,true); err != nil {
|
||||||
t.Errorf("create entry %v: %v", entry1.FullPath, err)
|
t.Errorf("create entry %v: %v", entry1.FullPath, err)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue