From 7d7f7ada31450f04a50964e1574b602f4fed9ca1 Mon Sep 17 00:00:00 2001 From: Shuduo Sang Date: Mon, 15 Mar 2021 19:13:59 +0800 Subject: [PATCH] [TD-3316] : add testcase for taosdemo child table limit and offset. --- tests/pytest/fulltest.sh | 6 ++++-- tests/pytest/pytest_3.sh | 3 ++- tests/pytest/tools/taosdemoTestLimitOffset.py | 4 ++-- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/tests/pytest/fulltest.sh b/tests/pytest/fulltest.sh index b8552925b7..d830d96865 100755 --- a/tests/pytest/fulltest.sh +++ b/tests/pytest/fulltest.sh @@ -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 \ No newline at end of file +python3 ./test.py -f account/account_create.py diff --git a/tests/pytest/pytest_3.sh b/tests/pytest/pytest_3.sh index a40cbb0d55..f2462154bc 100755 --- a/tests/pytest/pytest_3.sh +++ b/tests/pytest/pytest_3.sh @@ -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 diff --git a/tests/pytest/tools/taosdemoTestLimitOffset.py b/tests/pytest/tools/taosdemoTestLimitOffset.py index d32af35466..6dbe5a7028 100644 --- a/tests/pytest/tools/taosdemoTestLimitOffset.py +++ b/tests/pytest/tools/taosdemoTestLimitOffset.py @@ -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() -- GitLab