This commit is contained in:
snoop 2017-05-11 19:01:23 +09:00
parent c300dd6d49
commit fff5b32138
2 changed files with 4 additions and 8 deletions

View File

@ -104,6 +104,7 @@ func (c *CrawlerManager)init() error {
} }
} }
return nil
} }

View File

@ -15,12 +15,7 @@ import (
"loafle.com/overflow/agent_api/config_manager" "loafle.com/overflow/agent_api/config_manager"
"encoding/json" "encoding/json"
"fmt" "fmt"
"time"
"loafle.com/overflow/agent_api/observer"
"loafle.com/overflow/agent_api/observer/messages"
conMgr "loafle.com/overflow/config_manager_go"
"sync"
) )
@ -361,9 +356,9 @@ func TestJsonMa(t *testing.T) {
func TestMock(t *testing.T) { func TestMock(t *testing.T) {
GetInstance().ConfigMgr = &ConfigManagerTest{} //GetInstance().ConfigMgr = &ConfigManagerTest{}
//
GetInstance().init() //GetInstance().init()
} }