Re-enable engine in CDRC tests

This commit is contained in:
DanB
2015-11-10 14:25:20 +01:00
parent 9168eacc39
commit 495aada912

View File

@@ -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()
}