mirror of
https://github.com/minio/minio.git
synced 2025-11-07 12:52:58 -05:00
enhance getActualSize() to return valid values for most situations (#20228)
This commit is contained in:
@@ -271,7 +271,7 @@ func TestXLStorageReadVersion(t *testing.T) {
|
||||
}
|
||||
|
||||
xlMeta, _ := os.ReadFile("testdata/xl.meta")
|
||||
fi, _ := getFileInfo(xlMeta, "exists", "as-file", "", fileInfoOpts{Data: false, AllParts: true})
|
||||
fi, _ := getFileInfo(xlMeta, "exists", "as-file", "", fileInfoOpts{Data: false})
|
||||
|
||||
// Create files for the test cases.
|
||||
if err = xlStorage.MakeVol(context.Background(), "exists"); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user