fix test failures
This commit is contained in:
parent
d16caf3134
commit
c2c6f1b800
|
@ -39,7 +39,7 @@ class TDTestCase:
|
||||||
|
|
||||||
tdSql.query("select * from t0")
|
tdSql.query("select * from t0")
|
||||||
tdSql.checkRows(1)
|
tdSql.checkRows(1)
|
||||||
tdSql.checkData(0, 0, 1)
|
tdSql.checkData(0, 1, 1)
|
||||||
|
|
||||||
tdSql.query("select * from t1")
|
tdSql.query("select * from t1")
|
||||||
tdSql.checkRows(5)
|
tdSql.checkRows(5)
|
||||||
|
|
|
@ -103,7 +103,7 @@ class TDTestCase:
|
||||||
tdSql.execute('alter table stb add tag tnc nchar(10)')
|
tdSql.execute('alter table stb add tag tnc nchar(10)')
|
||||||
for tid in range(1, self.ntables + 1):
|
for tid in range(1, self.ntables + 1):
|
||||||
tdSql.execute('alter table tb%d set tag tnc=\"%s\"' %
|
tdSql.execute('alter table tb%d set tag tnc=\"%s\"' %
|
||||||
(tid, str(tid * 1.2)))
|
(tid, str(tid + 1000000000)))
|
||||||
tdLog.info("insert %d data in to each %d tables" % (2, self.ntables))
|
tdLog.info("insert %d data in to each %d tables" % (2, self.ntables))
|
||||||
for rid in range(self.rowsPerTable + 1, self.rowsPerTable + 3):
|
for rid in range(self.rowsPerTable + 1, self.rowsPerTable + 3):
|
||||||
sqlcmd = ['insert into']
|
sqlcmd = ['insert into']
|
||||||
|
|
Loading…
Reference in New Issue