mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-06 04:15:46 +08:00
For "add database retry" add test
This commit is contained in:
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…
x
Reference in New Issue
Block a user