提交 5fa4d345 编写于 作者: sangshuduo's avatar sangshuduo

change rows to maxrows in testcase script to match 2.0's change.

[TD-248]
上级 a00a70e8
......@@ -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")
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册