diff --git a/internal/core/thirdparty/knowhere/CMakeLists.txt b/internal/core/thirdparty/knowhere/CMakeLists.txt index 1fb371906f418..5b6baebffc985 100644 --- a/internal/core/thirdparty/knowhere/CMakeLists.txt +++ b/internal/core/thirdparty/knowhere/CMakeLists.txt @@ -14,7 +14,7 @@ # Update KNOWHERE_VERSION for the first occurrence milvus_add_pkg_config("knowhere") set_property(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY INCLUDE_DIRECTORIES "") -set( KNOWHERE_VERSION 5935c1f ) +set( KNOWHERE_VERSION 0bb86e3 ) set( GIT_REPOSITORY "https://github.com/zilliztech/knowhere.git") message(STATUS "Knowhere repo: ${GIT_REPOSITORY}") message(STATUS "Knowhere version: ${KNOWHERE_VERSION}") diff --git a/internal/proxy/task_test.go b/internal/proxy/task_test.go index 147c7e8b3a7aa..242acffb909fb 100644 --- a/internal/proxy/task_test.go +++ b/internal/proxy/task_test.go @@ -2369,7 +2369,7 @@ func Test_checkTrain(t *testing.T) { assert.Error(t, checkTrain(f, m)) }) - t.Run("invalid params", func(t *testing.T) { + t.Run("nlist test", func(t *testing.T) { f := &schemapb.FieldSchema{ DataType: schemapb.DataType_FloatVector, IndexParams: []*commonpb.KeyValuePair{ @@ -2383,7 +2383,7 @@ func Test_checkTrain(t *testing.T) { common.IndexTypeKey: "IVF_FLAT", common.MetricTypeKey: "L2", } - assert.Error(t, checkTrain(f, m)) + assert.NoError(t, checkTrain(f, m)) }) }