mirror of
https://github.com/pgsty/minio.git
synced 2026-08-09 15:53:28 +03:00
Avoid config reload all the time, reload is manually triggerred from outside
This commit is contained in:
@@ -45,7 +45,6 @@ func (s *MyCacheSuite) SetUpSuite(c *C) {
|
||||
s.root = root
|
||||
|
||||
customConfigPath = filepath.Join(root, "donut.json")
|
||||
var err error
|
||||
dc, err = New()
|
||||
c.Assert(err, IsNil)
|
||||
|
||||
@@ -55,7 +54,7 @@ func (s *MyCacheSuite) SetUpSuite(c *C) {
|
||||
c.Assert(len(buckets), Equals, 0)
|
||||
}
|
||||
|
||||
func (s *MyDonutSuite) TearDownSuite(c *C) {
|
||||
func (s *MyCacheSuite) TearDownSuite(c *C) {
|
||||
os.RemoveAll(s.root)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user