Use tmpfs containers for api/api4 tests, move and speed up CLI tests (#7606)

* use tmpfs containers for api/api4, move and speed up cli tests

* minor optimizations

* add missing files, fix pre-existing race condition

* add . to TestMain check

* add requested log message
Этот коммит содержится в:
Chris
2017-10-12 12:24:54 -07:00
коммит произвёл Christopher Speller
родитель 86a0e16035
Коммит 917e4789c2
10 изменённых файлов: 508 добавлений и 434 удалений

Просмотреть файл

@@ -31,7 +31,7 @@ type RunningContainer struct {
}
func (c *RunningContainer) Stop() error {
l4g.Info("removing container: %v", c.Id)
l4g.Info("Removing container: %v", c.Id)
return exec.Command("docker", "rm", "-f", c.Id).Run()
}
@@ -111,7 +111,7 @@ func runContainer(args []string) (*RunningContainer, error) {
exec.Command("docker", "rm", "-f", id).Run()
return nil, err
}
l4g.Info("running container: %v", id)
l4g.Info("Running container: %v", id)
return &RunningContainer{containers[0]}, nil
}