update test case, reduce case time
This commit is contained in:
parent
be4904b52a
commit
a886b8e447
|
@ -52,13 +52,12 @@ class TDTestCase:
|
||||||
p.start()
|
p.start()
|
||||||
p.join()
|
p.join()
|
||||||
p.terminate()
|
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))
|
tdSql.execute("insert into tb(ts, col1, col2) values(%d, 1, 2)" % (self.ts + 2))
|
||||||
|
|
||||||
print("==============step2")
|
print("==============step2")
|
||||||
tdSql.query("select * from tb")
|
tdSql.query("select * from tb")
|
||||||
tdSql.checkRows(3)
|
tdSql.checkRows(2)
|
||||||
|
|
||||||
def stop(self):
|
def stop(self):
|
||||||
tdSql.close()
|
tdSql.close()
|
||||||
|
|
|
@ -24,7 +24,7 @@ class TDTestCase:
|
||||||
tdLog.debug("start to execute %s" % __file__)
|
tdLog.debug("start to execute %s" % __file__)
|
||||||
tdSql.init(conn.cursor(), logSql)
|
tdSql.init(conn.cursor(), logSql)
|
||||||
|
|
||||||
self.numberOfTables = 10000
|
self.numberOfTables = 1000
|
||||||
self.numberOfRecords = 100
|
self.numberOfRecords = 100
|
||||||
|
|
||||||
def getBuildPath(self):
|
def getBuildPath(self):
|
||||||
|
|
Loading…
Reference in New Issue