change rows to maxrows in testcase script to match 2.0's change.
[TD-248]
This commit is contained in:
parent
a00a70e863
commit
5fa4d34533
|
@ -27,19 +27,19 @@ class TDTestCase:
|
|||
def run(self):
|
||||
self.ntables = 1
|
||||
self.startTime = 1520000010000
|
||||
self.rows = 200
|
||||
self.maxrows = 200
|
||||
|
||||
tdSql.execute('reset query cache')
|
||||
tdSql.execute('drop database if exists db')
|
||||
tdSql.execute('create database db rows %d' % self.rows)
|
||||
tdSql.execute('create database db maxrows %d' % self.maxrows)
|
||||
tdSql.execute('use db')
|
||||
|
||||
tdLog.info("================= step1")
|
||||
tdLog.info("create 1 table")
|
||||
tdSql.execute('create table tb1 (ts timestamp, speed int)')
|
||||
tdLog.info(
|
||||
"More than 10 rows less than %d rows will go to data file" %
|
||||
self.rows)
|
||||
"More than 10 rows less than %d maxrows will go to data file" %
|
||||
self.maxrows)
|
||||
|
||||
tdLog.info("================= step2")
|
||||
tdLog.info("import 20 sequential data")
|
||||
|
|
Loading…
Reference in New Issue