milvus/cpp/unittest/scheduler/task_test.cpp
starlord 1982736a86 refine unittest code
Former-commit-id: 71662b7d99de6fcbbe80b98b82cc704ae3cc9398
2019-09-11 11:37:19 +08:00

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);
}
}
}
}