mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-08 01:58:34 +08:00
24 lines
625 B
C++
24 lines
625 B
C++
/*******************************************************************************
|
|
* Copyright 上海赜睿信息科技有限公司(Zilliz) - All Rights Reserved
|
|
* Unauthorized copying of this file, via any medium is strictly prohibited.
|
|
* Proprietary and confidential.
|
|
******************************************************************************/
|
|
|
|
#include "scheduler/task/SearchTask.h"
|
|
#include <gtest/gtest.h>
|
|
|
|
|
|
namespace zilliz {
|
|
namespace milvus {
|
|
namespace engine {
|
|
|
|
|
|
TEST(TaskTest, invalid_index) {
|
|
auto search_task = std::make_shared<XSearchTask>(nullptr);
|
|
search_task->Load(LoadType::TEST, 10);
|
|
}
|
|
|
|
}
|
|
}
|
|
}
|