For "add database retry" add test

pull/499/head
plutoyty 1 year ago
parent 66f6e3d604
commit 6bc369ed00

@ -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