mirror of https://github.com/milvus-io/milvus.git
Fix data race for indexcoord test (#17057)
Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>pull/17134/head
parent
276ba69819
commit
e05cfe194e
|
@ -183,7 +183,6 @@ func (inm *Mock) Register() error {
|
|||
if inm.Err {
|
||||
return errors.New("IndexNode register failed")
|
||||
}
|
||||
Params.Init()
|
||||
inm.etcdKV = etcdkv.NewEtcdKV(inm.etcdCli, Params.EtcdCfg.MetaRootPath)
|
||||
if err := inm.etcdKV.RemoveWithPrefix("session/" + typeutil.IndexNodeRole); err != nil {
|
||||
return err
|
||||
|
|
Loading…
Reference in New Issue