Fix queryHook ut data race (#25306)

Signed-off-by: chasingegg <chao.gao@zilliz.com>
pull/25318/head
Gao 2023-07-04 15:34:25 +08:00 committed by GitHub
parent df63e3a295
commit 4a87b9f60a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -161,7 +161,6 @@ func (suite *QueryNodeSuite) TestInit_QueryHook() {
mockHook := &MockQueryHook{}
suite.node.queryHook = mockHook
suite.node.handleQueryHookEvent()
defer func() { suite.node.queryHook = nil }()
yamlWriter := viper.New()
yamlWriter.SetConfigFile("../../configs/milvus.yaml")