提交 1545dc59 编写于 作者: H Hongze Cheng

more

上级 6834e624
...@@ -120,7 +120,7 @@ TEST(vnodeApiTest, vnodeOpen_vnodeClose_test) { ...@@ -120,7 +120,7 @@ TEST(vnodeApiTest, vnodeOpen_vnodeClose_test) {
{ {
// Create some child tables // Create some child tables
int ntables = 1000000; int ntables = 50000;
int batch = 10; int batch = 10;
for (int i = 0; i < ntables / batch; i++) { for (int i = 0; i < ntables / batch; i++) {
SArray *pMsgs = (SArray *)taosArrayInit(batch, sizeof(SRpcMsg *)); SArray *pMsgs = (SArray *)taosArrayInit(batch, sizeof(SRpcMsg *));
...@@ -152,6 +152,8 @@ TEST(vnodeApiTest, vnodeOpen_vnodeClose_test) { ...@@ -152,6 +152,8 @@ TEST(vnodeApiTest, vnodeOpen_vnodeClose_test) {
} }
taosArrayDestroy(pMsgs); taosArrayDestroy(pMsgs);
std::cout << "the " << i << "th batch is created" << std::endl;
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册