[TD-3316] <test>: add testcase for taosdemo child table limit and offset.

This commit is contained in:
Shuduo Sang 2021-03-15 19:13:59 +08:00
parent ac4311d488
commit 7d7f7ada31
3 changed files with 8 additions and 5 deletions

View File

@ -243,10 +243,12 @@ python3 ./test.py -f query/last_row_cache.py
python3 ./test.py -f query/last_cache.py
# tools
python3 test.py -f tools/taosdemoTest.py
python3 test.py -f tools/taosdumpTest.py
python3 test.py -f tools/lowaTest.py
python3 test.py -f tools/taosdemoTest.py
python3 test.py -f tools/taosdemoTest2.py
python3 test.py -f tools/taosdemoTestWithoutMetric.py
python3 test.py -f tools/taosdemoTestLimitOffset.py
# subscribe
python3 test.py -f subscribe/singlemeter.py
@ -272,4 +274,4 @@ python3 ./test.py -f update/bug_td2279.py
python3 ./test.py -f wal/addOldWalTest.py
# account
python3 ./test.py -f account/account_create.py
python3 ./test.py -f account/account_create.py

View File

@ -78,10 +78,11 @@ python3 test.py -f query/queryInterval.py
python3 test.py -f query/queryFillTest.py
# tools
python3 test.py -f tools/lowaTest.py
python3 test.py -f tools/taosdemoTest.py
python3 test.py -f tools/taosdemoTestWithoutMetric.py
python3 test.py -f tools/taosdemoTestLimitOffset.py
python3 test.py -f tools/taosdumpTest.py
python3 test.py -f tools/lowaTest.py
#python3 test.py -f tools/taosdemoTest2.py
# subscribe

View File

@ -23,7 +23,7 @@ class TDTestCase:
def init(self, conn, logSql):
tdLog.debug("start to execute %s" % __file__)
tdSql.init(conn.cursor(), logSql)
self.numberOfTables = 10000
self.numberOfRecords = 100
@ -42,7 +42,7 @@ class TDTestCase:
buildPath = root[:len(root)-len("/build/bin")]
break
return buildPath
def run(self):
tdSql.prepare()
buildPath = self.getBuildPath()