summaryrefslogtreecommitdiffstats
path: root/store/sqlstore/store_test.go
diff options
context:
space:
mode:
authorChris <ccbrown112@gmail.com>2017-10-12 12:24:54 -0700
committerChristopher Speller <crspeller@gmail.com>2017-10-12 12:24:54 -0700
commit917e4789c2fde00bcae0f0ccc82b3c3815e1d38a (patch)
tree115270abbda7c7991fbfc419aff465b29fec1f88 /store/sqlstore/store_test.go
parent86a0e16035fa94487c606d925fd856164481a60f (diff)
downloadchat-917e4789c2fde00bcae0f0ccc82b3c3815e1d38a.tar.gz
chat-917e4789c2fde00bcae0f0ccc82b3c3815e1d38a.tar.bz2
chat-917e4789c2fde00bcae0f0ccc82b3c3815e1d38a.zip
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
Diffstat (limited to 'store/sqlstore/store_test.go')
-rw-r--r--store/sqlstore/store_test.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/store/sqlstore/store_test.go b/store/sqlstore/store_test.go
index d627ad0eb..d1a5714d6 100644
--- a/store/sqlstore/store_test.go
+++ b/store/sqlstore/store_test.go
@@ -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)