For "add database retry" add test

pull/551/head
plutoyty 2 years ago committed by Xinwei Xiong(cubxxw-openim)
parent ebf67fa09e
commit f4ccdea6be

@ -24,6 +24,7 @@ import (
func TestNewGormDB(t *testing.T) { func TestNewGormDB(t *testing.T) {
err := config.InitConfig("config_folder_path") err := config.InitConfig("config_folder_path")
if err != nil { if err != nil {
fmt.Println("config load error")
return return
} }
db, err := newMysqlGormDB() db, err := newMysqlGormDB()

Loading…
Cancel
Save