create 1000000 tables

This commit is contained in:
Hongze Cheng 2021-12-09 17:31:39 +08:00
parent 8faba0f5cc
commit 516cddca72
1 changed files with 1 additions and 1 deletions

View File

@ -120,7 +120,7 @@ TEST(vnodeApiTest, vnodeOpen_vnodeClose_test) {
{ {
// Create some child tables // Create some child tables
int ntables = 100000; int ntables = 1000000;
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 *));