Merge pull request #14468 from taosdata/test/chr/TD-14699
test:add testcase in fulltest
This commit is contained in:
commit
4452fdd442
|
@ -218,13 +218,13 @@ class TDTestCase:
|
|||
tdLog.debug("assert 8th case %s"%rows)
|
||||
assert rows[0][0] == 3, ' 8th case is failed'
|
||||
|
||||
# #query: selector Functions 9
|
||||
# queryparam=new_bind_params(1)
|
||||
# queryparam[0].int(2)
|
||||
# rows=self.stmtExe(conn,"select bottom(bu,?) from log group by bu ; ",queryparam)
|
||||
# tdLog.debug("assert 9th case %s"%rows)
|
||||
# assert rows[0][0] == 4, ' 9 case is failed'
|
||||
# assert rows[1][0] == 3, ' 9 case is failed'
|
||||
#query: selector Functions 9
|
||||
queryparam=new_bind_params(1)
|
||||
queryparam[0].int(2)
|
||||
rows=self.stmtExe(conn,"select bottom(bu,?) from log group by bu order by bu desc ; ",queryparam)
|
||||
tdLog.debug("assert 9th case %s"%rows)
|
||||
assert rows[1][0] == 4, ' 9 case is failed'
|
||||
assert rows[2][0] == 3, ' 9 case is failed'
|
||||
|
||||
# #query: time-series specific Functions 10
|
||||
|
||||
|
|
|
@ -478,6 +478,9 @@ class TDTestCase:
|
|||
self.test_case3()
|
||||
# tdLog.debug(" LIMIT test_case3 ............ [OK]")
|
||||
|
||||
def stop(self):
|
||||
tdSql.close()
|
||||
tdLog.success(f"{__file__} successfully executed")
|
||||
|
||||
return
|
||||
#
|
||||
|
|
|
@ -29,6 +29,7 @@ python3 ./test.py -f 1-insert/block_wise.py
|
|||
python3 ./test.py -f 1-insert/create_retentions.py
|
||||
|
||||
#python3 ./test.py -f 1-insert/table_param_ttl.py
|
||||
|
||||
python3 ./test.py -f 2-query/between.py
|
||||
python3 ./test.py -f 2-query/distinct.py
|
||||
python3 ./test.py -f 2-query/varchar.py
|
||||
|
@ -118,7 +119,7 @@ python3 ./test.py -f 2-query/twa.py
|
|||
python3 ./test.py -f 2-query/irate.py
|
||||
|
||||
python3 ./test.py -f 2-query/function_null.py
|
||||
#python3 ./test.py -f 2-query/queryQnode.py
|
||||
python3 ./test.py -f 2-query/queryQnode.py
|
||||
|
||||
#python3 ./test.py -f 6-cluster/5dnode1mnode.py
|
||||
#python3 ./test.py -f 6-cluster/5dnode2mnode.py -N 5 -M 3
|
||||
|
@ -172,3 +173,176 @@ python3 ./test.py -f 7-tmq/tmqConsFromTsdb1-1ctb-funcNFilter.py
|
|||
python3 ./test.py -f 7-tmq/tmqConsFromTsdb1-mutilVg-mutilCtb-funcNFilter.py
|
||||
python3 ./test.py -f 7-tmq/tmqConsFromTsdb1-mutilVg-mutilCtb.py
|
||||
|
||||
|
||||
|
||||
#------------querPolicy 2-----------
|
||||
|
||||
python3 ./test.py -f 2-query/between.py -Q 2
|
||||
python3 ./test.py -f 2-query/distinct.py -Q 2
|
||||
python3 ./test.py -f 2-query/varchar.py -Q 2
|
||||
python3 ./test.py -f 2-query/ltrim.py -Q 2
|
||||
python3 ./test.py -f 2-query/rtrim.py -Q 2
|
||||
python3 ./test.py -f 2-query/length.py -Q 2
|
||||
python3 ./test.py -f 2-query/char_length.py -Q 2
|
||||
python3 ./test.py -f 2-query/upper.py -Q 2
|
||||
python3 ./test.py -f 2-query/lower.py -Q 2
|
||||
python3 ./test.py -f 2-query/join.py -Q 2
|
||||
python3 ./test.py -f 2-query/join2.py -Q 2
|
||||
python3 ./test.py -f 2-query/cast.py -Q 2
|
||||
python3 ./test.py -f 2-query/substr.py -Q 2
|
||||
python3 ./test.py -f 2-query/union.py -Q 2
|
||||
python3 ./test.py -f 2-query/union1.py -Q 2
|
||||
python3 ./test.py -f 2-query/concat.py -Q 2
|
||||
python3 ./test.py -f 2-query/concat2.py -Q 2
|
||||
python3 ./test.py -f 2-query/concat_ws.py -Q 2
|
||||
python3 ./test.py -f 2-query/concat_ws2.py -Q 2
|
||||
python3 ./test.py -f 2-query/check_tsdb.py -Q 2
|
||||
python3 ./test.py -f 2-query/spread.py -Q 2
|
||||
python3 ./test.py -f 2-query/hyperloglog.py -Q 2
|
||||
python3 ./test.py -f 2-query/explain.py -Q 2
|
||||
python3 ./test.py -f 2-query/leastsquares.py -Q 2
|
||||
python3 ./test.py -f 2-query/timezone.py -Q 2
|
||||
python3 ./test.py -f 2-query/Now.py -Q 2
|
||||
python3 ./test.py -f 2-query/Today.py -Q 2
|
||||
python3 ./test.py -f 2-query/max.py -Q 2
|
||||
python3 ./test.py -f 2-query/min.py -Q 2
|
||||
python3 ./test.py -f 2-query/count.py -Q 2
|
||||
python3 ./test.py -f 2-query/last.py -Q 2
|
||||
python3 ./test.py -f 2-query/first.py -Q 2
|
||||
python3 ./test.py -f 2-query/To_iso8601.py -Q 2
|
||||
python3 ./test.py -f 2-query/To_unixtimestamp.py -Q 2
|
||||
python3 ./test.py -f 2-query/timetruncate.py -Q 2
|
||||
python3 ./test.py -f 2-query/diff.py -Q 2
|
||||
python3 ./test.py -f 2-query/Timediff.py -Q 2
|
||||
python3 ./test.py -f 2-query/json_tag.py -Q 2
|
||||
python3 ./test.py -f 2-query/top.py -Q 2
|
||||
python3 ./test.py -f 2-query/bottom.py -Q 2
|
||||
python3 ./test.py -f 2-query/percentile.py -Q 2
|
||||
python3 ./test.py -f 2-query/apercentile.py -Q 2
|
||||
python3 ./test.py -f 2-query/abs.py -Q 2
|
||||
python3 ./test.py -f 2-query/ceil.py -Q 2
|
||||
python3 ./test.py -f 2-query/floor.py -Q 2
|
||||
python3 ./test.py -f 2-query/round.py -Q 2
|
||||
python3 ./test.py -f 2-query/log.py -Q 2
|
||||
python3 ./test.py -f 2-query/pow.py -Q 2
|
||||
python3 ./test.py -f 2-query/sqrt.py -Q 2
|
||||
python3 ./test.py -f 2-query/sin.py -Q 2
|
||||
python3 ./test.py -f 2-query/cos.py -Q 2
|
||||
python3 ./test.py -f 2-query/tan.py -Q 2
|
||||
python3 ./test.py -f 2-query/arcsin.py -Q 2
|
||||
python3 ./test.py -f 2-query/arccos.py -Q 2
|
||||
python3 ./test.py -f 2-query/arctan.py -Q 2
|
||||
python3 ./test.py -f 2-query/query_cols_tags_and_or.py -Q 2
|
||||
|
||||
# python3 ./test.py -f 2-query/nestedQuery.py -Q 2
|
||||
# python3 ./test.py -f 2-query/nestedQuery_str.py -Q 2
|
||||
|
||||
python3 ./test.py -f 2-query/avg.py -Q 2
|
||||
# python3 ./test.py -f 2-query/elapsed.py -Q 2
|
||||
python3 ./test.py -f 2-query/csum.py -Q 2
|
||||
python3 ./test.py -f 2-query/mavg.py -Q 2
|
||||
python3 ./test.py -f 2-query/diff.py -Q 2
|
||||
python3 ./test.py -f 2-query/sample.py -Q 2
|
||||
python3 ./test.py -f 2-query/function_diff.py -Q 2
|
||||
python3 ./test.py -f 2-query/unique.py -Q 2
|
||||
python3 ./test.py -f 2-query/stateduration.py -Q 2
|
||||
python3 ./test.py -f 2-query/function_stateduration.py -Q 2
|
||||
python3 ./test.py -f 2-query/statecount.py -Q 2
|
||||
python3 ./test.py -f 2-query/tail.py -Q 2
|
||||
python3 ./test.py -f 2-query/ttl_comment.py -Q 2
|
||||
python3 ./test.py -f 2-query/distribute_agg_count.py -Q 2
|
||||
python3 ./test.py -f 2-query/distribute_agg_max.py -Q 2
|
||||
python3 ./test.py -f 2-query/distribute_agg_min.py -Q 2
|
||||
python3 ./test.py -f 2-query/distribute_agg_sum.py -Q 2
|
||||
python3 ./test.py -f 2-query/distribute_agg_spread.py -Q 2
|
||||
python3 ./test.py -f 2-query/distribute_agg_apercentile.py -Q 2
|
||||
python3 ./test.py -f 2-query/distribute_agg_avg.py -Q 2
|
||||
python3 ./test.py -f 2-query/distribute_agg_stddev.py -Q 2
|
||||
python3 ./test.py -f 2-query/twa.py -Q 2
|
||||
python3 ./test.py -f 2-query/irate.py -Q 2
|
||||
python3 ./test.py -f 2-query/function_null.py -Q 2
|
||||
|
||||
#------------querPolicy 3-----------
|
||||
|
||||
python3 ./test.py -f 2-query/between.py -Q 3
|
||||
python3 ./test.py -f 2-query/distinct.py -Q 3
|
||||
python3 ./test.py -f 2-query/varchar.py -Q 3
|
||||
python3 ./test.py -f 2-query/ltrim.py -Q 3
|
||||
python3 ./test.py -f 2-query/rtrim.py -Q 3
|
||||
python3 ./test.py -f 2-query/length.py -Q 3
|
||||
python3 ./test.py -f 2-query/char_length.py -Q 3
|
||||
python3 ./test.py -f 2-query/upper.py -Q 3
|
||||
python3 ./test.py -f 2-query/lower.py -Q 3
|
||||
python3 ./test.py -f 2-query/join.py -Q 3
|
||||
python3 ./test.py -f 2-query/join2.py -Q 3
|
||||
python3 ./test.py -f 2-query/cast.py -Q 3
|
||||
python3 ./test.py -f 2-query/substr.py -Q 3
|
||||
python3 ./test.py -f 2-query/union.py -Q 3
|
||||
python3 ./test.py -f 2-query/union1.py -Q 3
|
||||
python3 ./test.py -f 2-query/concat.py -Q 3
|
||||
python3 ./test.py -f 2-query/concat2.py -Q 3
|
||||
python3 ./test.py -f 2-query/concat_ws.py -Q 3
|
||||
python3 ./test.py -f 2-query/concat_ws2.py -Q 3
|
||||
python3 ./test.py -f 2-query/check_tsdb.py -Q 3
|
||||
python3 ./test.py -f 2-query/spread.py -Q 3
|
||||
python3 ./test.py -f 2-query/hyperloglog.py -Q 3
|
||||
python3 ./test.py -f 2-query/explain.py -Q 3
|
||||
python3 ./test.py -f 2-query/leastsquares.py -Q 3
|
||||
python3 ./test.py -f 2-query/timezone.py -Q 3
|
||||
python3 ./test.py -f 2-query/Now.py -Q 3
|
||||
python3 ./test.py -f 2-query/Today.py -Q 3
|
||||
python3 ./test.py -f 2-query/max.py -Q 3
|
||||
python3 ./test.py -f 2-query/min.py -Q 3
|
||||
python3 ./test.py -f 2-query/count.py -Q 3
|
||||
python3 ./test.py -f 2-query/last.py -Q 3
|
||||
python3 ./test.py -f 2-query/first.py -Q 3
|
||||
python3 ./test.py -f 2-query/To_iso8601.py -Q 3
|
||||
python3 ./test.py -f 2-query/To_unixtimestamp.py -Q 3
|
||||
python3 ./test.py -f 2-query/timetruncate.py -Q 3
|
||||
python3 ./test.py -f 2-query/diff.py -Q 3
|
||||
python3 ./test.py -f 2-query/Timediff.py -Q 3
|
||||
python3 ./test.py -f 2-query/json_tag.py -Q 3
|
||||
python3 ./test.py -f 2-query/top.py -Q 3
|
||||
python3 ./test.py -f 2-query/bottom.py -Q 3
|
||||
python3 ./test.py -f 2-query/percentile.py -Q 3
|
||||
python3 ./test.py -f 2-query/apercentile.py -Q 3
|
||||
python3 ./test.py -f 2-query/abs.py -Q 3
|
||||
python3 ./test.py -f 2-query/ceil.py -Q 3
|
||||
python3 ./test.py -f 2-query/floor.py -Q 3
|
||||
python3 ./test.py -f 2-query/round.py -Q 3
|
||||
python3 ./test.py -f 2-query/log.py -Q 3
|
||||
python3 ./test.py -f 2-query/pow.py -Q 3
|
||||
python3 ./test.py -f 2-query/sqrt.py -Q 3
|
||||
python3 ./test.py -f 2-query/sin.py -Q 3
|
||||
python3 ./test.py -f 2-query/cos.py -Q 3
|
||||
python3 ./test.py -f 2-query/tan.py -Q 3
|
||||
python3 ./test.py -f 2-query/arcsin.py -Q 3
|
||||
python3 ./test.py -f 2-query/arccos.py -Q 3
|
||||
python3 ./test.py -f 2-query/arctan.py -Q 3
|
||||
python3 ./test.py -f 2-query/query_cols_tags_and_or.py -Q 3
|
||||
# python3 ./test.py -f 2-query/nestedQuery.py -Q 3
|
||||
# python3 ./test.py -f 2-query/nestedQuery_str.py -Q 3
|
||||
# python3 ./test.py -f 2-query/avg.py -Q 3
|
||||
# python3 ./test.py -f 2-query/elapsed.py -Q 3
|
||||
python3 ./test.py -f 2-query/csum.py -Q 3
|
||||
python3 ./test.py -f 2-query/mavg.py -Q 3
|
||||
python3 ./test.py -f 2-query/diff.py -Q 3
|
||||
python3 ./test.py -f 2-query/sample.py -Q 3
|
||||
python3 ./test.py -f 2-query/function_diff.py -Q 3
|
||||
python3 ./test.py -f 2-query/unique.py -Q 3
|
||||
python3 ./test.py -f 2-query/stateduration.py -Q 3
|
||||
python3 ./test.py -f 2-query/function_stateduration.py -Q 3
|
||||
python3 ./test.py -f 2-query/statecount.py -Q 3
|
||||
python3 ./test.py -f 2-query/tail.py -Q 3
|
||||
python3 ./test.py -f 2-query/ttl_comment.py -Q 3
|
||||
python3 ./test.py -f 2-query/distribute_agg_count.py -Q 3
|
||||
python3 ./test.py -f 2-query/distribute_agg_max.py -Q 3
|
||||
python3 ./test.py -f 2-query/distribute_agg_min.py -Q 3
|
||||
python3 ./test.py -f 2-query/distribute_agg_sum.py -Q 3
|
||||
python3 ./test.py -f 2-query/distribute_agg_spread.py -Q 3
|
||||
python3 ./test.py -f 2-query/distribute_agg_apercentile.py -Q 3
|
||||
python3 ./test.py -f 2-query/distribute_agg_avg.py -Q 3
|
||||
python3 ./test.py -f 2-query/distribute_agg_stddev.py -Q 3
|
||||
python3 ./test.py -f 2-query/twa.py -Q 3
|
||||
python3 ./test.py -f 2-query/irate.py -Q 3
|
||||
python3 ./test.py -f 2-query/function_null.py -Q 3
|
||||
|
|
Loading…
Reference in New Issue