test: reset modify
This commit is contained in:
parent
55c265f85f
commit
e5e144e420
|
@ -73,7 +73,7 @@ def runOnPreviousCluster(host, config, fileName):
|
||||||
conn = taos.connect(host, config)
|
conn = taos.connect(host, config)
|
||||||
|
|
||||||
# run case
|
# run case
|
||||||
case.init(conn, True)
|
case.init(conn, False)
|
||||||
try:
|
try:
|
||||||
case.run()
|
case.run()
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
@ -493,7 +493,7 @@ if __name__ == "__main__":
|
||||||
if queryPolicy != 1:
|
if queryPolicy != 1:
|
||||||
queryPolicy=int(queryPolicy)
|
queryPolicy=int(queryPolicy)
|
||||||
if not restful:
|
if not restful:
|
||||||
conn = taos.connect(host,config = tdDnodes.getSimCfgPath())
|
conn = taos.connect(host,config=tdDnodes.getSimCfgPath())
|
||||||
else:
|
else:
|
||||||
conn = taosrest.connect(url=f"http://{host}:6041")
|
conn = taosrest.connect(url=f"http://{host}:6041")
|
||||||
# tdSql.init(conn.cursor())
|
# tdSql.init(conn.cursor())
|
||||||
|
|
Loading…
Reference in New Issue