Give Constellation time to start

This commit is contained in:
Peter Fox 2018-07-15 20:51:05 +01:00
parent d0be6b2575
commit f25cdca033
1 changed files with 2 additions and 2 deletions

View File

@ -118,9 +118,9 @@ func runConstellation() (*osExec.Cmd, error) {
constellationErr = constellationCmd.Start()
}()
// Give the constellation subprocess some time to start.
time.Sleep(1 * time.Second)
time.Sleep(5 * time.Second)
fmt.Println(stdout.String() + stderr.String())
if constellationErr != nil {
fmt.Println(stdout.String() + stderr.String())
return nil, constellationErr
}
private.P = constellation.MustNew(cfgFile.Name())