add test infomation

Former-commit-id: a5ac7a483a0f21182069dd2727f1832d0f94ae97
This commit is contained in:
groot 2019-05-14 12:03:50 +08:00
parent f385115c77
commit cc2edace95

View File

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