modify case
This commit is contained in:
parent
acee0af58f
commit
23f23a445d
|
@ -42,7 +42,7 @@ class TDTestCase:
|
|||
|
||||
tdLog.info("=============== step3")
|
||||
start = time.time()
|
||||
tdSql.waitedQuery("select * from st", 1, 120)
|
||||
tdSql.waitedQuery("select * from st", 1, 180)
|
||||
delay = int(time.time() - start) + 80
|
||||
v = tdSql.getData(0, 3)
|
||||
if v >= 51:
|
||||
|
|
|
@ -87,6 +87,7 @@ class TDSql:
|
|||
self.queryResult = self.cursor.fetchall()
|
||||
self.queryRows = len(self.queryResult)
|
||||
self.queryCols = len(self.cursor.description)
|
||||
tdLog.info("sql: %s, try to retrieve %d rows,get %d rows" % (sql, expectRows, self.queryRows))
|
||||
if self.queryRows >= expectRows:
|
||||
return (self.queryRows, i)
|
||||
time.sleep(1)
|
||||
|
|
Loading…
Reference in New Issue