Merge pull request #7025 from taosdata/dev/chr
[TD-4432]<test>: add taodemo-testcase that using stmt interface
This commit is contained in:
commit
677451536e
|
@ -195,6 +195,10 @@ python3 ./test.py -f perfbenchmark/bug3433.py
|
|||
#python3 ./test.py -f perfbenchmark/bug3589.py
|
||||
python3 ./test.py -f perfbenchmark/taosdemoInsert.py
|
||||
|
||||
#taosdemo
|
||||
python3 test.py -f tools/taosdemoAllTest/taosdemoTestInsertWithJson.py
|
||||
python3 test.py -f tools/taosdemoAllTest/taosdemoTestQueryWithJson.py
|
||||
|
||||
#query
|
||||
python3 ./test.py -f query/filter.py
|
||||
python3 ./test.py -f query/filterCombo.py
|
||||
|
@ -354,8 +358,7 @@ python3 ./test.py -f alter/alter_debugFlag.py
|
|||
python3 ./test.py -f query/queryBetweenAnd.py
|
||||
python3 ./test.py -f tag_lite/alter_tag.py
|
||||
|
||||
python3 test.py -f tools/taosdemoAllTest/taosdemoTestInsertWithJson.py
|
||||
python3 test.py -f tools/taosdemoAllTest/taosdemoTestQueryWithJson.py
|
||||
|
||||
python3 test.py -f tools/taosdemoAllTest/TD-4985/query-limit-offset.py
|
||||
python3 ./test.py -f tag_lite/drop_auto_create.py
|
||||
python3 test.py -f insert/insert_before_use_db.py
|
||||
|
|
|
@ -160,7 +160,7 @@ class TDTestCase:
|
|||
tdSql.execute("drop database if exists db")
|
||||
os.system("%staosdemo -f tools/taosdemoAllTest/stmt/insertSigcolumnsNum4096-stmt.json -y " % binPath)
|
||||
tdSql.error("select * from db.stb0")
|
||||
tdSql.execute("drop database if exists db")
|
||||
# tdSql.execute("drop database if exists db")
|
||||
# os.system("%staosdemo -f tools/taosdemoAllTest/stmt/insertColumnsAndTagNum4096-stmt.json -y " % binPath)
|
||||
# tdSql.query("select count(*) from db.stb0")
|
||||
# tdSql.checkData(0, 0, 10000)
|
||||
|
@ -247,7 +247,7 @@ class TDTestCase:
|
|||
# # insert: sample json
|
||||
# os.system("%staosdemo -f tools/taosdemoAllTest/stmt/insert-sample-stmt.json -y " % binPath)
|
||||
# tdSql.execute("use dbtest123")
|
||||
# tdSql.query("select col2 from stb0")
|
||||
# tdSql.query("select c2 from stb0")
|
||||
# tdSql.checkData(0, 0, 2147483647)
|
||||
# tdSql.query("select * from stb1 where t1=-127")
|
||||
# tdSql.checkRows(20)
|
||||
|
|
Loading…
Reference in New Issue