提交 fd436139 编写于 作者: S starlord

reduce unittest time


Former-commit-id: aafd3f7417aa6339a67456d9f260a6f55e1b0e8c
上级 a7225746
...@@ -273,7 +273,7 @@ TEST_F(NewMemManagerTest, INSERT_TEST) { ...@@ -273,7 +273,7 @@ TEST_F(NewMemManagerTest, INSERT_TEST) {
int insert_loop = 20; int insert_loop = 20;
for (int i = 0; i < insert_loop; ++i) { for (int i = 0; i < insert_loop; ++i) {
int64_t nb = 409600; int64_t nb = 40960;
std::vector<float> xb; std::vector<float> xb;
BuildVectors(nb, xb); BuildVectors(nb, xb);
engine::IDNumbers vector_ids; engine::IDNumbers vector_ids;
...@@ -308,7 +308,7 @@ TEST_F(NewMemManagerTest, CONCURRENT_INSERT_SEARCH_TEST) { ...@@ -308,7 +308,7 @@ TEST_F(NewMemManagerTest, CONCURRENT_INSERT_SEARCH_TEST) {
engine::IDNumbers vector_ids; engine::IDNumbers vector_ids;
engine::IDNumbers target_ids; engine::IDNumbers target_ids;
int64_t nb = 409600; int64_t nb = 40960;
std::vector<float> xb; std::vector<float> xb;
BuildVectors(nb, xb); BuildVectors(nb, xb);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册