Use new LRU inside memory driver

This commit is contained in:
Harshavardhana
2015-05-03 23:16:45 -07:00
parent f7caef2d26
commit d0df548eb5
5 changed files with 89 additions and 99 deletions
+1 -2
View File
@@ -21,7 +21,6 @@ import (
. "github.com/minio-io/check"
"github.com/minio-io/minio/pkg/storage/drivers"
"time"
)
func Test(t *testing.T) { TestingT(t) }
@@ -32,7 +31,7 @@ var _ = Suite(&MySuite{})
func (s *MySuite) TestAPISuite(c *C) {
create := func() drivers.Driver {
_, _, store := Start(1000, 3*time.Hour)
_, _, store := Start(10000000, 0)
return store
}
drivers.APITestSuite(c, create)