fix: test case
This commit is contained in:
parent
f4180ec3d0
commit
4a08d69159
|
@ -183,6 +183,6 @@ class TDCases:
|
|||
tdLog.info(cmdStr1)
|
||||
os.system(cmdStr1)
|
||||
|
||||
time.sleep(15)
|
||||
time.sleep(5)
|
||||
|
||||
tdCases = TDCases()
|
||||
|
|
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue