fix: taosBenchmark ci failed with stmt mode
This commit is contained in:
parent
dcf6327d46
commit
d3209e9cf4
|
@ -63,7 +63,7 @@
|
||||||
"childtable_offset": 0,
|
"childtable_offset": 0,
|
||||||
"insert_rows": 20,
|
"insert_rows": 20,
|
||||||
"insert_interval": 0,
|
"insert_interval": 0,
|
||||||
"interlace_rows": 5,
|
"interlace_rows": 0,
|
||||||
"disorder_ratio": 0,
|
"disorder_ratio": 0,
|
||||||
"disorder_range": 1000,
|
"disorder_range": 1000,
|
||||||
"timestamp_step": 1,
|
"timestamp_step": 1,
|
||||||
|
|
|
@ -64,7 +64,7 @@
|
||||||
"childtable_offset": 0,
|
"childtable_offset": 0,
|
||||||
"insert_rows": 20,
|
"insert_rows": 20,
|
||||||
"insert_interval": 0,
|
"insert_interval": 0,
|
||||||
"interlace_rows": 5,
|
"interlace_rows": 0,
|
||||||
"disorder_ratio": 0,
|
"disorder_ratio": 0,
|
||||||
"disorder_range": 1000,
|
"disorder_range": 1000,
|
||||||
"timestamp_step": 1,
|
"timestamp_step": 1,
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
"insert_rows": 100000,
|
"insert_rows": 100000,
|
||||||
"timestamp_step": 1,
|
"timestamp_step": 1,
|
||||||
"start_timestamp": "2020-10-01 00:00:00.000",
|
"start_timestamp": "2020-10-01 00:00:00.000",
|
||||||
"auto_create_table": "yes",
|
"auto_create_table": "no",
|
||||||
"columns": [
|
"columns": [
|
||||||
{ "type": "bool", "name": "bc"},
|
{ "type": "bool", "name": "bc"},
|
||||||
{ "type": "float", "name": "fc"},
|
{ "type": "float", "name": "fc"},
|
||||||
|
|
|
@ -281,10 +281,10 @@ def testQuery():
|
||||||
# INFO: Spend 6.7350 second completed total queries: 10, the QPS of all threads: 1.485
|
# INFO: Spend 6.7350 second completed total queries: 10, the QPS of all threads: 1.485
|
||||||
speed = None
|
speed = None
|
||||||
|
|
||||||
for i in range(20, len(lines)):
|
for i in range(0, len(lines)):
|
||||||
# find second real
|
# find second real
|
||||||
pos = context.find("the QPS of all threads:")
|
context = lines[i]
|
||||||
context = lines[26]
|
pos = context.find("the QPS of all threads:")
|
||||||
if pos == -1 :
|
if pos == -1 :
|
||||||
continue
|
continue
|
||||||
pos += 24
|
pos += 24
|
||||||
|
|
Loading…
Reference in New Issue