Skip to content

Commit

Permalink
Merge pull request #20817 from taosdata/test/main/TD-22157
Browse files Browse the repository at this point in the history
test:add testcase of childtale_from_to
  • Loading branch information
plum-lihui committed Apr 10, 2023
2 parents 874725d + f6f4e81 commit 74abd01
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tests/develop-test/5-taos-tools/taosbenchmark/default_json.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@ def run(self):
os.system("%s" % cmd)
tdSql.execute("reset query cache")
tdSql.query("show db.tables")
tdSql.checkRows(10)
tdSql.checkRows(8)
tdSql.query("select count(*) from db.stb")
tdSql.checkData(0, 0, 100)
tdSql.checkData(0, 0, 80)

def stop(self):
tdSql.close()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,18 @@
"num_of_records_per_req": 10,
"databases": [{
"dbinfo": {
"name": "db"
"name": "db",
"drop": "yes"

},
"super_tables": [{
"child_table_exists":"no",
"name": "stb",
"childtable_prefix": "stb_",
"childtable_count": 10,
"insert_rows": 10,
"childtable_from": 1,
"childtable_to": 9,
"columns": [{"type": "INT"}],
"tags": [{"type": "INT"}]
}]
Expand Down

0 comments on commit 74abd01

Please sign in to comment.