diff options
Diffstat (limited to 'store/sql_store_test.go')
-rw-r--r-- | store/sql_store_test.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/store/sql_store_test.go b/store/sql_store_test.go index 3c6081e3c..303cfc18e 100644 --- a/store/sql_store_test.go +++ b/store/sql_store_test.go @@ -25,12 +25,20 @@ func Setup() { } func TestSqlStore1(t *testing.T) { + utils.TranslationsPreInit() utils.LoadConfig("config.json") utils.Cfg.SqlSettings.Trace = true store := NewSqlStore() store.Close() + utils.Cfg.SqlSettings.DataSourceReplicas = []string{utils.Cfg.SqlSettings.DataSource} + + store = NewSqlStore() + store.TotalMasterDbConnections() + store.TotalReadDbConnections() + store.Close() + utils.LoadConfig("config.json") } |