mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-25 09:08:45 +05:00
Implement start/stop/status methods for servmanager + tests
This commit is contained in:
committed by
Dan Christian Bogos
parent
ad7bd111d1
commit
60a4da69e0
@@ -43,7 +43,7 @@ func TestRateSReload(t *testing.T) {
|
||||
filterSChan <- nil
|
||||
shdWg := new(sync.WaitGroup)
|
||||
server := cores.NewServer(nil)
|
||||
srvMngr := servmanager.NewServiceManager(shdWg, nil, cfg.GetReloadChan())
|
||||
srvMngr := servmanager.NewServiceManager(shdWg, nil, cfg)
|
||||
srvDep := map[string]*sync.WaitGroup{utils.DataDB: new(sync.WaitGroup)}
|
||||
db := NewDataDBService(cfg, nil, srvDep)
|
||||
chS := engine.NewCacheS(cfg, nil, nil, nil)
|
||||
|
||||
Reference in New Issue
Block a user