fix: create table from 10 reduct to 6
This commit is contained in:
parent
c657c19427
commit
a74495a163
|
@ -32,7 +32,7 @@
|
||||||
{
|
{
|
||||||
"name": "stb",
|
"name": "stb",
|
||||||
"child_table_exists": "no",
|
"child_table_exists": "no",
|
||||||
"childtable_count": 10,
|
"childtable_count": 6,
|
||||||
"insert_rows": 2000000,
|
"insert_rows": 2000000,
|
||||||
"childtable_prefix": "d",
|
"childtable_prefix": "d",
|
||||||
"insert_mode": "taosc",
|
"insert_mode": "taosc",
|
||||||
|
|
|
@ -67,7 +67,7 @@ class TDTestCase(TBase):
|
||||||
|
|
||||||
tdSql.execute(f"use {self.db}")
|
tdSql.execute(f"use {self.db}")
|
||||||
# come from s3_basic.json
|
# come from s3_basic.json
|
||||||
self.childtable_count = 10
|
self.childtable_count = 6
|
||||||
self.insert_rows = 2000000
|
self.insert_rows = 2000000
|
||||||
self.timestamp_step = 1000
|
self.timestamp_step = 1000
|
||||||
|
|
||||||
|
@ -89,7 +89,7 @@ class TDTestCase(TBase):
|
||||||
fileName = cols[8]
|
fileName = cols[8]
|
||||||
#print(f" filesize={fileSize} fileName={fileName} line={line}")
|
#print(f" filesize={fileSize} fileName={fileName} line={line}")
|
||||||
if fileSize > maxFileSize:
|
if fileSize > maxFileSize:
|
||||||
tdLog.info(f"error, {fileSize} over max size({maxFileSize})\n")
|
tdLog.info(f"error, {fileSize} over max size({maxFileSize}) {fileName}\n")
|
||||||
overCnt += 1
|
overCnt += 1
|
||||||
else:
|
else:
|
||||||
tdLog.info(f"{fileName}({fileSize}) check size passed.")
|
tdLog.info(f"{fileName}({fileSize}) check size passed.")
|
||||||
|
@ -103,7 +103,7 @@ class TDTestCase(TBase):
|
||||||
loop = 0
|
loop = 0
|
||||||
rets = []
|
rets = []
|
||||||
overCnt = 0
|
overCnt = 0
|
||||||
while loop < 180:
|
while loop < 100:
|
||||||
time.sleep(3)
|
time.sleep(3)
|
||||||
|
|
||||||
# check upload to s3
|
# check upload to s3
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
{
|
{
|
||||||
"name": "stb",
|
"name": "stb",
|
||||||
"child_table_exists": "yes",
|
"child_table_exists": "yes",
|
||||||
"childtable_count": 10,
|
"childtable_count": 6,
|
||||||
"insert_rows": 1000000,
|
"insert_rows": 1000000,
|
||||||
"childtable_prefix": "d",
|
"childtable_prefix": "d",
|
||||||
"insert_mode": "taosc",
|
"insert_mode": "taosc",
|
||||||
|
|
Loading…
Reference in New Issue