mirror of
https://github.com/minio/minio.git
synced 2025-11-22 18:47:43 -05:00
Add dummy driver for community to submit new drivers
This commit is contained in:
@@ -33,8 +33,8 @@ import (
|
||||
"net/http/httptest"
|
||||
|
||||
"github.com/minio/minio/pkg/storage/drivers"
|
||||
"github.com/minio/minio/pkg/storage/drivers/cache"
|
||||
"github.com/minio/minio/pkg/storage/drivers/donut"
|
||||
"github.com/minio/minio/pkg/storage/drivers/memory"
|
||||
"github.com/minio/minio/pkg/storage/drivers/mocks"
|
||||
"github.com/stretchr/testify/mock"
|
||||
|
||||
@@ -58,7 +58,7 @@ var _ = Suite(&MySuite{
|
||||
|
||||
var _ = Suite(&MySuite{
|
||||
initDriver: func() (drivers.Driver, string) {
|
||||
driver, _ := memory.NewDriver(10000, 3*time.Hour)
|
||||
driver, _ := cache.NewDriver(10000, 3*time.Hour)
|
||||
return driver, ""
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user