From 949d7a6eb9cbc0a813351fe6ef1bbc0954fe67e4 Mon Sep 17 00:00:00 2001 From: wenzhouwww Date: Tue, 4 Jan 2022 20:02:50 +0800 Subject: [PATCH] [test](query): run CI --- tests/system-test/2-query/TD-12204.py | 2 +- tests/system-test/2-query/td_12191.json | 62 +++++++++++++++++++++++++ tests/system-test/fulltest-query.sh | 35 +++++++++++++- 3 files changed, 96 insertions(+), 3 deletions(-) create mode 100644 tests/system-test/2-query/td_12191.json diff --git a/tests/system-test/2-query/TD-12204.py b/tests/system-test/2-query/TD-12204.py index 4026e1778d..ba40525889 100644 --- a/tests/system-test/2-query/TD-12204.py +++ b/tests/system-test/2-query/TD-12204.py @@ -369,7 +369,7 @@ class TDTestCase: print(conn1) - for i in range(20): + for i in range(5): try: taos_cmd1 = "taos -f 2-query/TD-12204.py.sql" _ = subprocess.check_output(taos_cmd1, shell=True).decode("utf-8") diff --git a/tests/system-test/2-query/td_12191.json b/tests/system-test/2-query/td_12191.json new file mode 100644 index 0000000000..f5d26db40d --- /dev/null +++ b/tests/system-test/2-query/td_12191.json @@ -0,0 +1,62 @@ +{ + "filetype": "insert", + "cfgdir": "/etc/taos", + "host": "127.0.0.1", + "port": 6030, + "user": "root", + "password": "taosdata", + "thread_count": 16, + "thread_count_create_tbl": 4, + "result_file": "./insert_res.txt", + "confirm_parameter_prompt": "no", + "insert_interval": 0, + "chinese":"no", + "databases": [{ + "dbinfo": { + "name": "test_TD11483", + "drop": "yes", + "replica": 1, + "days": 10, + "cache": 16, + "blocks": 8, + "precision": "ms", + "keep": 36500, + "minRows": 100, + "maxRows": 4096, + "comp":2, + "walLevel":1, + "cachelast":0, + "quorum":1, + "fsync":3000, + "update": 0 + }, + "super_tables": [{ + "name": "stb", + "child_table_exists":"no", + "childtable_count": 10, + "childtable_prefix": "stb_", + "escape_character": "yes", + "auto_create_table": "no", + "batch_create_tbl_num": 5, + "data_source": "rand", + "insert_mode": "taosc", + "line_protocol": "line", + "insert_rows": 100, + "childtable_limit": 10, + "childtable_offset":100, + "interlace_rows": 0, + "insert_interval":0, + + "disorder_ratio": 0, + "disorder_range": 1000, + "timestamp_step": 10000, + "start_timestamp": "2010-10-01 00:00:00.000", + "sample_format": "csv", + "sample_file": "./sample.csv", + "use_sameple_ts": "no", + "tags_file": "", + "columns": [{"type": "INT"}, {"type": "DOUBLE", "count":2}, {"type": "BINARY", "len": 16, "count":3}, {"type": "BINARY", "len": 32, "count":6}], + "tags": [{"type": "TINYINT", "count":2}, {"type": "BINARY", "len": 16, "count":1}] + }] + }] +} diff --git a/tests/system-test/fulltest-query.sh b/tests/system-test/fulltest-query.sh index f89b3e694d..475e5e7bb1 100755 --- a/tests/system-test/fulltest-query.sh +++ b/tests/system-test/fulltest-query.sh @@ -2,8 +2,39 @@ python3 ./test.py -f 2-query/TD-11256.py # python3 ./test.py -f 2-query/TD-11389.py python3 ./test.py -f 2-query/TD-11945_crash.py python3 ./test.py -f 2-query/TD-12340-12342.py - python3 ./test.py -f 2-query/TD-11561.py - python3 ./test.py -f 2-query/TD-12204.py +python3 ./test.py -f 2-query/TD-11483.py +python3 ./test.py -f 2-query/TD-11943.py +python3 ./test.py -f 2-query/TD-11969.py +python3 ./test.py -f 2-query/TD-11978.py +python3 ./test.py -f 2-query/TD-12014.py +python3 ./test.py -f 2-query/TD-12145.py +python3 ./test.py -f 2-query/TD-12164.py +python3 ./test.py -f 2-query/TD-12165.py +#python3 ./test.py -f 2-query/TD-12191.py +python3 ./test.py -f 2-query/TD-12228.py +python3 ./test.py -f 2-query/TD-12229.py +python3 ./test.py -f 2-query/TD-12276.py +python3 ./test.py -f 2-query/TD-12344.py +#python3 ./test.py -f 2-query/TD-12388.py +#python3 ./test.py -f 2-query/TD-12593.py +#python3 ./test.py -f 2-query/TD-12594.py +#python3 ./test.py -f 2-query/TD-12614.py + + + + + + + + + + + + + + + + -- GitLab