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 удалений

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

@@ -4,7 +4,6 @@
package sqlstore
import (
"flag"
"os"
"sync"
"testing"
@@ -99,8 +98,6 @@ func tearDownStores() {
}
func TestMain(m *testing.M) {
flag.Parse()
utils.TranslationsPreInit()
utils.LoadConfig("config.json")
utils.InitTranslations(utils.Cfg.LocalizationSettings)