test
This commit is contained in:
parent
c300dd6d49
commit
fff5b32138
|
@ -104,6 +104,7 @@ func (c *CrawlerManager)init() error {
|
|||
}
|
||||
}
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -15,12 +15,7 @@ import (
|
|||
"loafle.com/overflow/agent_api/config_manager"
|
||||
"encoding/json"
|
||||
"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) {
|
||||
|
||||
GetInstance().ConfigMgr = &ConfigManagerTest{}
|
||||
|
||||
GetInstance().init()
|
||||
//GetInstance().ConfigMgr = &ConfigManagerTest{}
|
||||
//
|
||||
//GetInstance().init()
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user