Merge pull request #5359 from taosdata/xiaoping/add_test_case
update test case
This commit is contained in:
commit
99a7711ae4
|
@ -52,13 +52,12 @@ class TDTestCase:
|
|||
p.start()
|
||||
p.join()
|
||||
p.terminate()
|
||||
|
||||
tdSql.execute("insert into tb values(%d, 1, 2)" % (self.ts + 1))
|
||||
|
||||
tdSql.execute("insert into tb(ts, col1, col2) values(%d, 1, 2)" % (self.ts + 2))
|
||||
|
||||
print("==============step2")
|
||||
tdSql.query("select * from tb")
|
||||
tdSql.checkRows(3)
|
||||
tdSql.checkRows(2)
|
||||
|
||||
def stop(self):
|
||||
tdSql.close()
|
||||
|
|
|
@ -24,7 +24,7 @@ class TDTestCase:
|
|||
tdLog.debug("start to execute %s" % __file__)
|
||||
tdSql.init(conn.cursor(), logSql)
|
||||
|
||||
self.numberOfTables = 10000
|
||||
self.numberOfTables = 1000
|
||||
self.numberOfRecords = 100
|
||||
|
||||
def getBuildPath(self):
|
||||
|
|
Loading…
Reference in New Issue