From cc2edace95d9ebfe814655ad10b39d1c76fdc1d9 Mon Sep 17 00:00:00 2001 From: groot Date: Tue, 14 May 2019 12:03:50 +0800 Subject: [PATCH] add test infomation Former-commit-id: a5ac7a483a0f21182069dd2727f1832d0f94ae97 --- cpp/test_client/src/ClientTest.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cpp/test_client/src/ClientTest.cpp b/cpp/test_client/src/ClientTest.cpp index 8ff48e963d..e4e0a604de 100644 --- a/cpp/test_client/src/ClientTest.cpp +++ b/cpp/test_client/src/ClientTest.cpp @@ -135,6 +135,7 @@ TEST(AddVector, CLIENT_TEST) { } session.interface()->add_vector(id, GetGroupID(), tensor); } catch (zilliz::VecException& ex) { + CLIENT_LOG_ERROR << "request encounter exception: " << ex.what(); ASSERT_EQ(ex.code, zilliz::VecErrCode::ILLEGAL_ARGUMENT); } @@ -143,6 +144,7 @@ TEST(AddVector, CLIENT_TEST) { session.interface()->get_group(temp_group, GetGroupID()); //ASSERT_TRUE(temp_group.id.empty()); } catch (zilliz::VecException& ex) { + CLIENT_LOG_ERROR << "request encounter exception: " << ex.what(); ASSERT_EQ(ex.code, zilliz::VecErrCode::GROUP_NOT_EXISTS); }