mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-05-11 12:36:00 +08:00
test fix dead lock
This commit is contained in:
@@ -103,8 +103,8 @@ func NewClient(zkServers []string, zkRoot string, options ...ZkOption) (*ZkClien
|
||||
resolver.Register(client)
|
||||
var wg sync.WaitGroup
|
||||
wg.Add(2)
|
||||
go client.refresh(&wg)
|
||||
go client.watch(&wg)
|
||||
// go client.refresh(&wg)
|
||||
// go client.watch(&wg)
|
||||
wg.Wait()
|
||||
return client, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user