mirror of
https://github.com/minio/minio.git
synced 2025-11-10 05:59:43 -05:00
fs: Re-implement object layer to remember the fd (#3509)
This patch re-writes FS backend to support shared backend sharing locks for safe concurrent access across multiple servers.
This commit is contained in:
@@ -1207,7 +1207,7 @@ func testListMultipartUploads(obj ObjectLayer, instanceType string, t TestErrHan
|
||||
}
|
||||
|
||||
for i, testCase := range testCases {
|
||||
// fmt.Println(testCase) // uncomment to peek into the test cases.
|
||||
// fmt.Println(i+1, testCase) // uncomment to peek into the test cases.
|
||||
actualResult, actualErr := obj.ListMultipartUploads(testCase.bucket, testCase.prefix, testCase.keyMarker, testCase.uploadIDMarker, testCase.delimiter, testCase.maxUploads)
|
||||
if actualErr != nil && testCase.shouldPass {
|
||||
t.Errorf("Test %d: %s: Expected to pass, but failed with: <ERROR> %s", i+1, instanceType, actualErr.Error())
|
||||
@@ -1520,7 +1520,7 @@ func TestListObjectParts(t *testing.T) {
|
||||
ExecObjectLayerTest(t, testListObjectParts)
|
||||
}
|
||||
|
||||
// testListMultipartUploads - Tests validate listing of multipart uploads.
|
||||
// testListObjectParts - test validate listing of object parts.
|
||||
func testListObjectParts(obj ObjectLayer, instanceType string, t TestErrHandler) {
|
||||
|
||||
bucketNames := []string{"minio-bucket", "minio-2-bucket"}
|
||||
|
||||
Reference in New Issue
Block a user