Remove killEngineTest so we can have proper help messages

This commit is contained in:
DanB
2017-08-01 18:14:42 +02:00
parent 689a5539da
commit 42b69f2862
3 changed files with 0 additions and 10 deletions

View File

@@ -52,7 +52,6 @@ var sTestsCDRsIT = []func(t *testing.T){
testV2CDRsRateWithoutTP,
testV2CDRsLoadTariffPlanFromFolder,
testV2CDRsRateWithTP,
engine.KillEngineTest,
}
// Tests starting here

View File

@@ -53,7 +53,6 @@ var sTestsTutIT = []func(t *testing.T){
testTPitRpcConn,
testTPitTimings,
testTPitDestinations,
engine.KillEngineTest,
}
// Tests starting here

View File

@@ -25,7 +25,6 @@ import (
"os"
"os/exec"
"path"
"testing"
"time"
"github.com/cgrates/cgrates/config"
@@ -95,13 +94,6 @@ func KillEngine(waitEngine int) error {
return nil
}
// KillEngineTest is included in tests to shutdown the CGRateS processes
func KillEngineTest(t *testing.T) {
if err := KillEngine(100); err != nil {
t.Error(err)
}
}
func StopStartEngine(cfgPath string, waitEngine int) (*exec.Cmd, error) {
KillEngine(waitEngine)
return StartEngine(cfgPath, waitEngine)