mirror of https://github.com/milvus-io/milvus.git
add showtables unittest
Former-commit-id: a32787a331c94245e1cf87ad43e5e365120cb38epull/191/head
parent
4b10cb3ec0
commit
d89aa2020c
|
@ -349,11 +349,11 @@ TEST_F(RpcHandlerTest, TABLES_TEST) {
|
|||
handler->Insert(&context, &request, &vector_ids);
|
||||
|
||||
|
||||
//Show table
|
||||
// ::milvus::grpc::Command cmd;
|
||||
// ::grpc::ServerWriter<::milvus::grpc::TableName> *writer;
|
||||
// status = handler->ShowTables(&context, &cmd, writer);
|
||||
// ASSERT_EQ(status.error_code(), ::grpc::Status::OK.error_code());
|
||||
//show tables
|
||||
::milvus::grpc::Command cmd;
|
||||
::milvus::grpc::TableNameList table_name_list;
|
||||
status = handler->ShowTables(&context, &cmd, &table_name_list);
|
||||
ASSERT_EQ(status.error_code(), ::grpc::Status::OK.error_code());
|
||||
|
||||
//Count Table
|
||||
::milvus::grpc::TableRowCount count;
|
||||
|
|
Loading…
Reference in New Issue