From bdef129e3a3240ced0d651c8bab45c9d0e410212 Mon Sep 17 00:00:00 2001 From: groot Date: Mon, 29 Apr 2019 12:45:53 +0800 Subject: [PATCH] fix unitest load config error Former-commit-id: e1ff282a7eb4c81ee76efe43751f9d7329e8ddf3 --- cpp/test_client/src/ClientTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/test_client/src/ClientTest.cpp b/cpp/test_client/src/ClientTest.cpp index b6dd0789..2e38ce6c 100644 --- a/cpp/test_client/src/ClientTest.cpp +++ b/cpp/test_client/src/ClientTest.cpp @@ -177,7 +177,7 @@ TEST(SearchVector, CLIENT_TEST) { { const int32_t anchor_index = 300; const int32_t search_count = 10; - const int64_t top_k = 10; + const int64_t top_k = 5; server::TimeRecorder rc("Search binary batch top_k"); VecBinaryTensorList tensor_list; for(int32_t k = anchor_index; k < anchor_index + search_count; k++) { -- GitLab