mirror of
https://github.com/minio/minio.git
synced 2025-11-22 10:37:42 -05:00
Filesystem goes the high road *again*
This commit is contained in:
@@ -34,7 +34,6 @@ import (
|
||||
|
||||
"github.com/minio/minio/pkg/storage/drivers"
|
||||
"github.com/minio/minio/pkg/storage/drivers/donut"
|
||||
"github.com/minio/minio/pkg/storage/drivers/fs"
|
||||
"github.com/minio/minio/pkg/storage/drivers/memory"
|
||||
"github.com/minio/minio/pkg/storage/drivers/mocks"
|
||||
"github.com/stretchr/testify/mock"
|
||||
@@ -74,14 +73,6 @@ var _ = Suite(&MySuite{
|
||||
},
|
||||
})
|
||||
|
||||
var _ = Suite(&MySuite{
|
||||
initDriver: func() (drivers.Driver, string) {
|
||||
root, _ := ioutil.TempDir(os.TempDir(), "minio-fs-api")
|
||||
driver, _ := filesystem.NewDriver(root)
|
||||
return driver, root
|
||||
},
|
||||
})
|
||||
|
||||
func (s *MySuite) SetUpSuite(c *C) {
|
||||
driver, root := s.initDriver()
|
||||
if root != "" {
|
||||
|
||||
Reference in New Issue
Block a user