temp commit

This commit is contained in:
tomchon 2021-05-25 10:36:17 +08:00
parent 0eafd19005
commit 1128b31985
3 changed files with 6 additions and 21 deletions

View File

@ -35,7 +35,7 @@
"super_tables": [{ "super_tables": [{
"name": "stb0", "name": "stb0",
"child_table_exists":"no", "child_table_exists":"no",
"childtable_count": 201, "childtable_count": 200,
"childtable_prefix": "stb00_", "childtable_prefix": "stb00_",
"auto_create_table": "no", "auto_create_table": "no",
"batch_create_tbl_num": 1000, "batch_create_tbl_num": 1000,

View File

@ -11,8 +11,8 @@
{ {
"concurrent":2, "concurrent":2,
"mode":"sync", "mode":"sync",
"interval":0, "interval":1000,
"restartAfterConsume":1, "resubAfterConsume":10,
"restart":"no", "restart":"no",
"keepProgress":"yes", "keepProgress":"yes",
"sqls": [ "sqls": [
@ -20,20 +20,5 @@
"sql": "select * from stb00_0", "sql": "select * from stb00_0",
"result": "./subscribe_res0.txt" "result": "./subscribe_res0.txt"
}] }]
},
"super_table_query":
{
"stblname": "stb0",
"threads":2,
"mode":"sync",
"interval":10000,
"restartAfterConsume":1,
"restart":"no",
"keepProgress":"no",
"sqls": [
{
"sql": "select * from xxxx where ts >= '2021-02-25 10:00:01.000' ",
"result": "./subscribe_res2.txt"
}]
} }
} }

View File

@ -113,9 +113,9 @@ class TDTestCase:
# sql number lager 100 # sql number lager 100
os.system("%staosdemo -f tools/taosdemoAllTest/subInsertdataMaxsql100.json" % binPath) os.system("%staosdemo -f tools/taosdemoAllTest/subInsertdataMaxsql100.json" % binPath)
assert os.system("%staosdemo -f tools/taosdemoAllTest/subSyncSpecMaxsql100.json" % binPath) != 0 # assert os.system("%staosdemo -f tools/taosdemoAllTest/subSyncSpecMaxsql100.json" % binPath) != 0
assert os.system("%staosdemo -f tools/taosdemoAllTest/subSyncSuperMaxsql100.json" % binPath) != 0 # assert os.system("%staosdemo -f tools/taosdemoAllTest/subSyncSuperMaxsql100.json" % binPath) != 0
# os.system("%staosdemo -f tools/taosdemoAllTest/subSyncKeepStart.json" % binPath) os.system("%staosdemo -f tools/taosdemoAllTest/subSyncKeepStart.json" % binPath)
# tdSql.execute("insert into db.stb00_1 values(1614218412000,'R','bf3',8637,78.861045)(1614218413000,'R','bf3',8637,98.861045)") # tdSql.execute("insert into db.stb00_1 values(1614218412000,'R','bf3',8637,78.861045)(1614218413000,'R','bf3',8637,98.861045)")