From 9493a2fa2eb817863c7ff65f850c116f6a4b6c21 Mon Sep 17 00:00:00 2001 From: Shuduo Sang Date: Thu, 14 Apr 2022 19:33:44 +0800 Subject: [PATCH] test: fix lua connector test case (#11502) * fix: remove stream api [TD-14360] * fix: update examples/rust to remove stream api [TD-14360] * test: fix lua.py [TD-14360] * add more basic cases into pytest/smoketest.sh --- tests/pytest/connector/lua.py | 2 +- tests/pytest/smoketest.sh | 22 ++++++++++++++++++++++ 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/tests/pytest/connector/lua.py b/tests/pytest/connector/lua.py index 23f0602e12..97ce49f6fd 100644 --- a/tests/pytest/connector/lua.py +++ b/tests/pytest/connector/lua.py @@ -57,7 +57,7 @@ class TDTestCase: else: tdLog.info("taosd found in %s" % buildPath) - targetPath = buildPath + "/../tests/examples/lua" + targetPath = buildPath + "/../examples/lua" tdLog.info(targetPath) currentPath = os.getcwd() os.chdir(targetPath) diff --git a/tests/pytest/smoketest.sh b/tests/pytest/smoketest.sh index cbe80882fb..7ac5d4f6d3 100755 --- a/tests/pytest/smoketest.sh +++ b/tests/pytest/smoketest.sh @@ -4,10 +4,32 @@ ulimit -c unlimited # insert python3 ./test.py $1 -f insert/basic.py python3 ./test.py $1 -s && sleep 1 +python3 ./test.py $1 -f insert/bool.py +python3 ./test.py $1 -s && sleep 1 +python3 ./test.py $1 -f insert/tinyint.py +python3 ./test.py $1 -s && sleep 1 +python3 ./test.py $1 -f insert/smallint.py +python3 ./test.py $1 -s && sleep 1 +python3 ./test.py $1 -f insert/int.py +python3 ./test.py $1 -s && sleep 1 python3 ./test.py $1 -f insert/bigint.py python3 ./test.py $1 -s && sleep 1 +python3 ./test.py $1 -f insert/float.py +python3 ./test.py $1 -s && sleep 1 +python3 ./test.py $1 -f insert/double.py +python3 ./test.py $1 -s && sleep 1 python3 ./test.py $1 -f insert/nchar.py python3 ./test.py $1 -s && sleep 1 +python3 ./test.py $1 -f insert/timestamp.py +python3 ./test.py $1 -s && sleep 1 +python3 ./test.py $1 -f insert/unsignedTinyint.py +python3 ./test.py $1 -s && sleep 1 +python3 ./test.py $1 -f insert/unsignedSmallint.py +python3 ./test.py $1 -s && sleep 1 +python3 ./test.py $1 -f insert/unsignedInt.py +python3 ./test.py $1 -s && sleep 1 +python3 ./test.py $1 -f insert/unsignedBigint.py +python3 ./test.py $1 -s && sleep 1 python3 ./test.py $1 -f insert/multi.py python3 ./test.py $1 -s && sleep 1 -- GitLab