Tests in services

This commit is contained in:
andronache
2021-02-09 16:35:18 +02:00
committed by Dan Christian Bogos
parent 167f7c0a4a
commit f458e975d1

View File

@@ -132,6 +132,9 @@ func TestSIPAgentReload2(t *testing.T) {
t.Fatal(err)
}
if srv.IsRunning() {
t.Errorf("Expected service to be down")
}
var reply string
if err := cfg.V1ReloadConfig(&config.ReloadArgs{
Path: path.Join("/usr", "share", "cgrates", "conf", "samples", "sipagent_mongo"),