diff --git a/cpp/CHANGELOG.md b/cpp/CHANGELOG.md index cc200a6e14e7b595fb5d5aa024f692523787ab2f..812b090724530b48fc6f83d82964356aa1434cba 100644 --- a/cpp/CHANGELOG.md +++ b/cpp/CHANGELOG.md @@ -80,6 +80,7 @@ Please mark all change in change log and use the ticket from JIRA. - MS-330 - Stability test failed caused by server core dumped - MS-347 - Build index hangs again - MS-382 - fix MySQLMetaImpl::CleanUpFilesWithTTL unknown column bug +- MS-411 - Fix metric unittest linking error ## Improvement - MS-156 - Add unittest for merge result functions diff --git a/cpp/unittest/metrics/CMakeLists.txt b/cpp/unittest/metrics/CMakeLists.txt index 47b86d11078ada8a268047ce1ee249a1e1890f9a..c066165a2c9aa83c7de79c515aef5aa03d60d341 100644 --- a/cpp/unittest/metrics/CMakeLists.txt +++ b/cpp/unittest/metrics/CMakeLists.txt @@ -19,6 +19,11 @@ aux_source_directory(${MILVUS_ENGINE_SRC}/config config_files) aux_source_directory(${MILVUS_ENGINE_SRC}/cache cache_srcs) aux_source_directory(${MILVUS_ENGINE_SRC}/wrapper wrapper_src) aux_source_directory(${MILVUS_ENGINE_SRC}/wrapper/knowhere knowhere_src) +aux_source_directory(${MILVUS_ENGINE_SRC}/scheduler/action scheduler_action_srcs) +aux_source_directory(${MILVUS_ENGINE_SRC}/scheduler/event scheduler_event_srcs) +aux_source_directory(${MILVUS_ENGINE_SRC}/scheduler/resource scheduler_resource_srcs) +aux_source_directory(${MILVUS_ENGINE_SRC}/scheduler/task scheduler_task_srcs) +aux_source_directory(${MILVUS_ENGINE_SRC}/scheduler scheduler_srcs) aux_source_directory(${MILVUS_ENGINE_SRC}/src/metrics metrics_src) aux_source_directory(./ test_srcs) @@ -52,6 +57,11 @@ set(count_test_src ${db_meta_files} ${db_scheduler_srcs} ${wrapper_src} + ${scheduler_action_srcs} + ${scheduler_event_srcs} + ${scheduler_resource_srcs} + ${scheduler_task_srcs} + ${scheduler_srcs} ${knowhere_src} ${metrics_src} ${test_srcs}