fix: test case

This commit is contained in:
factosea 2024-12-25 09:09:27 +08:00
parent 4779f4a16f
commit faaaa243af
1 changed files with 9 additions and 0 deletions

View File

@ -14,6 +14,15 @@ class TDTestCase:
tdSql.execute("drop database if exists test;")
tdCases.taosBenchmarkExec("-t 2 -n 1000000 -b int,float,nchar -y")
while True:
tdSql.query("select d0.ts from test.d0;")
num1 = tdSql.queryRows
tdSql.query("select d0.ts from test.d1;")
num2 = tdSql.queryRows
if num1 == 1000000 and num2 == 1000000:
break
time.sleep(1)
def ts5803(self):
tdSql.query("select d0.ts,d0.c1,d0.c2 from test.d0 join test.d1 on d0.ts=d1.ts;")