adjust data

This commit is contained in:
Hongze Cheng 2020-06-23 15:44:40 +08:00
parent bc533f5aa7
commit dd31a82c1a
1 changed files with 2 additions and 2 deletions

View File

@ -130,7 +130,7 @@ TEST(TsdbTest, testInsertSpeed) {
int ret = 0;
STsdbCfg tsdbCfg;
STableCfg tableCfg;
std::string testDir = "/root/mnt/work/ttest";
std::string testDir = "./test";
char * rootDir = strdup((testDir + "/vnode" + std::to_string(vnode)).c_str());
tsdbDebugFlag = 131; //NOTE: you must set the flag
@ -148,7 +148,7 @@ TEST(TsdbTest, testInsertSpeed) {
tsdbCreateTable(repo, &tableCfg);
// Insert data
SInsertInfo iInfo = {repo, true, 1, 5849583783847394, 0, 1590000000000, 10, 10000000, 1000, tableCfg.schema};
SInsertInfo iInfo = {repo, true, 1, 5849583783847394, 0, 1590000000000, 10, 10000000, 100, tableCfg.schema};
insertData(&iInfo);