Avoid config reload all the time, reload is manually triggerred from outside

This commit is contained in:
Harshavardhana
2015-07-06 16:26:54 -07:00
parent 8b94c53345
commit b029d0a5f0
27 changed files with 2904 additions and 140 deletions
+1 -2
View File
@@ -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)
}