From 5fa4d345334f261df6704198240a2ac7bc315ad5 Mon Sep 17 00:00:00 2001 From: Shuduo Sang Date: Thu, 7 May 2020 17:19:15 +0800 Subject: [PATCH] change rows to maxrows in testcase script to match 2.0's change. [TD-248] --- tests/pytest/import_merge/importDataT.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/pytest/import_merge/importDataT.py b/tests/pytest/import_merge/importDataT.py index 66016c5555..93ca9c9e8e 100644 --- a/tests/pytest/import_merge/importDataT.py +++ b/tests/pytest/import_merge/importDataT.py @@ -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") -- GitLab