reduce unittest time

Former-commit-id: aafd3f7417aa6339a67456d9f260a6f55e1b0e8c
This commit is contained in:
starlord 2019-07-17 19:53:37 +08:00
parent a72257469b
commit fd43613935

View File

@ -273,7 +273,7 @@ TEST_F(NewMemManagerTest, INSERT_TEST) {
int insert_loop = 20;
for (int i = 0; i < insert_loop; ++i) {
int64_t nb = 409600;
int64_t nb = 40960;
std::vector<float> xb;
BuildVectors(nb, xb);
engine::IDNumbers vector_ids;
@ -308,7 +308,7 @@ TEST_F(NewMemManagerTest, CONCURRENT_INSERT_SEARCH_TEST) {
engine::IDNumbers vector_ids;
engine::IDNumbers target_ids;
int64_t nb = 409600;
int64_t nb = 40960;
std::vector<float> xb;
BuildVectors(nb, xb);