mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-15 21:29:52 +05:00
Remove killEngineTest so we can have proper help messages
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user