fix: test case

This commit is contained in:
factosea 2024-12-25 09:18:57 +08:00
parent f4180ec3d0
commit 4a08d69159
2 changed files with 4 additions and 3 deletions

View File

@ -183,6 +183,6 @@ class TDCases:
tdLog.info(cmdStr1)
os.system(cmdStr1)
time.sleep(15)
time.sleep(5)
tdCases = TDCases()

View File

@ -16,12 +16,13 @@ class TDTestCase:
tdCases.taosBenchmarkExec("-t 2 -n 1000000 -b int,float,nchar -y")
while True:
tdSql.query("select d0.ts from test.d0;")
tdSql.query("select ts from test.d0;")
num1 = tdSql.queryRows
tdSql.query("select d0.ts from test.d1;")
tdSql.query("select ts from test.d1;")
num2 = tdSql.queryRows
if num1 == 1000000 and num2 == 1000000:
break
tdLog.info(f"waiting for data ready, d0: {num1}, d1: {num2}")
time.sleep(1)
def ts5803(self):