From cd6258ebfbba4cbe252c9178f56a2ed6dd5fbad8 Mon Sep 17 00:00:00 2001 From: tomchon Date: Wed, 26 May 2021 21:24:34 +0800 Subject: [PATCH] temp commit --- .../taosdemoAllTest/subSyncKeepStart.json | 23 +++++++++++++++---- .../subSyncSuperMaxsql100.json | 5 ++-- 2 files changed, 22 insertions(+), 6 deletions(-) diff --git a/tests/pytest/tools/taosdemoAllTest/subSyncKeepStart.json b/tests/pytest/tools/taosdemoAllTest/subSyncKeepStart.json index d9a9d83dad..5bc6be99f0 100644 --- a/tests/pytest/tools/taosdemoAllTest/subSyncKeepStart.json +++ b/tests/pytest/tools/taosdemoAllTest/subSyncKeepStart.json @@ -11,14 +11,29 @@ { "concurrent":2, "mode":"sync", - "interval":1000, - "resubAfterConsume":10, - "restart":"no", - "keepProgress":"yes", + "interval":0, + "keepProgress":"no", + "restart":"yes", + "resubAfterConsume":1, "sqls": [ { "sql": "select * from stb00_0", "result": "./subscribe_res0.txt" }] + }, + "super_table_query": + { + "stblname": "stb0", + "threads":2, + "mode":"sync", + "interval":1000, + "keepProgress":"yes", + "restart":"no", + "resubAfterConsume":1, + "sqls": [ + { + "sql": "select * from xxxx where ts >= '2021-02-25 10:00:01.000' ", + "result": "./subscribe_res2.txt" + }] } } \ No newline at end of file diff --git a/tests/pytest/tools/taosdemoAllTest/subSyncSuperMaxsql100.json b/tests/pytest/tools/taosdemoAllTest/subSyncSuperMaxsql100.json index 26225a5955..a45f45231f 100644 --- a/tests/pytest/tools/taosdemoAllTest/subSyncSuperMaxsql100.json +++ b/tests/pytest/tools/taosdemoAllTest/subSyncSuperMaxsql100.json @@ -13,8 +13,9 @@ "threads":4, "mode":"sync", "interval":0, - "restart":"no", - "keepProgress":"no", + "restart":"yes", + "resubAfterConsume":0, + "keepProgress":"yes", "sqls": [ { "sql": "select * from xxxx where ts >= '2021-02-25 10:00:00.000' ", -- GitLab