Adding DE_MOBILE to tutorial files in Destinations.csv, adding TPDestinations tests within tp_it

This commit is contained in:
DanB
2016-06-15 17:21:14 +02:00
parent a733ba5589
commit e4cd5a64b5
6 changed files with 59 additions and 6 deletions

View File

@@ -71,11 +71,9 @@ func StartEngine(cfgPath string, waitEngine int) (*exec.Cmd, error) {
return nil, err
}
engine := exec.Command(enginePath, "-config_dir", cfgPath)
utils.Logger.Debug(fmt.Sprintf("Before engine.Start(), time: %+v", time.Now()))
if err := engine.Start(); err != nil {
return nil, err
}
utils.Logger.Debug(fmt.Sprintf("After engine.Start(), time: %+v", time.Now()))
time.Sleep(time.Duration(waitEngine) * time.Millisecond) // Give time to rater to fire up
return engine, nil
}