mirror of
https://github.com/minio/minio.git
synced 2025-11-29 21:33:31 -05:00
XL/multipart: statPart should ignore errDiskNotFound. (#1862)
startPart should also take uploadId and partName as arguments.
This commit is contained in:
@@ -42,7 +42,7 @@ func (s *MySuite) TestFSAPISuite(c *C) {
|
||||
return objAPI
|
||||
}
|
||||
APITestSuite(c, create)
|
||||
defer removeRoots(c, storageList)
|
||||
defer removeRootsC(c, storageList)
|
||||
}
|
||||
|
||||
func (s *MySuite) TestXLAPISuite(c *C) {
|
||||
@@ -64,10 +64,10 @@ func (s *MySuite) TestXLAPISuite(c *C) {
|
||||
return objAPI
|
||||
}
|
||||
APITestSuite(c, create)
|
||||
defer removeRoots(c, storageList)
|
||||
defer removeRootsC(c, storageList)
|
||||
}
|
||||
|
||||
func removeRoots(c *C, roots []string) {
|
||||
func removeRootsC(c *C, roots []string) {
|
||||
for _, root := range roots {
|
||||
os.RemoveAll(root)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user