mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-17 22:29:55 +05:00
Fixed integration test for services/registrarc
This commit is contained in:
committed by
Dan Christian Bogos
parent
d208a0dbed
commit
90da1d465c
@@ -91,7 +91,7 @@ func TestDispatcherHReload(t *testing.T) {
|
||||
if err != nil {
|
||||
t.Errorf("\nExpecting <nil>,\n Received <%+v>", err)
|
||||
}
|
||||
cfg.RegistrarCCfg().Dispatchers.Enabled = false
|
||||
cfg.RegistrarCCfg().Dispatchers.RegistrarSConns = []string{}
|
||||
cfg.GetReloadChan(config.RegistrarCJSON) <- struct{}{}
|
||||
time.Sleep(10 * time.Millisecond)
|
||||
if srv.IsRunning() {
|
||||
|
||||
Reference in New Issue
Block a user