mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-04-28 14:29:19 +08:00
For "add database retry" add test
This commit is contained in:
@@ -24,6 +24,7 @@ import (
|
||||
func TestNewGormDB(t *testing.T) {
|
||||
err := config.InitConfig("config_folder_path")
|
||||
if err != nil {
|
||||
fmt.Println("config load error")
|
||||
return
|
||||
}
|
||||
db, err := newMysqlGormDB()
|
||||
|
||||
Reference in New Issue
Block a user