mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Re-enable engine in CDRC tests
This commit is contained in:
@@ -122,7 +122,7 @@ func TestMCDRCRpcConn(t *testing.T) {
|
||||
if !*testLocal {
|
||||
return
|
||||
}
|
||||
//startEngine()
|
||||
startEngine()
|
||||
var err error
|
||||
rater, err = jsonrpc.Dial("tcp", cfg.RPCJSONListen) // We connect over JSON so we can also troubleshoot if needed
|
||||
if err != nil {
|
||||
@@ -198,3 +198,10 @@ func TestMCDRCHandleCdr3File(t *testing.T) {
|
||||
t.Fatal("Error moving file to processing directory: ", err)
|
||||
}
|
||||
}
|
||||
|
||||
func TestMCDRCStopEngine(t *testing.T) {
|
||||
if !*testLocal {
|
||||
return
|
||||
}
|
||||
stopEngine()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user