未验证 提交 259bbe27 编写于 作者: H Hui Li 提交者: GitHub

Merge pull request #7203 from taosdata/xiaoping/test_case

[TD-5730]<test>: update performance test script
......@@ -31,7 +31,7 @@ class taosdemoQueryPerformace:
self.host = "127.0.0.1"
self.user = "root"
self.password = "taosdata"
self.config = "/etc/taosperf"
self.config = "/etc/perf"
self.conn = taos.connect(
self.host,
self.user,
......
......@@ -16,8 +16,7 @@ import pandas as pd
import argparse
import os.path
import json
from util.log import tdLog
from util.sql import tdSql
import sys
class taosdemoPerformace:
def __init__(self, commitID, dbName, branch, type):
......@@ -132,7 +131,9 @@ class taosdemoPerformace:
def insertData(self):
buildPath = self.getBuildPath()
if (buildPath == ""):
tdLog.exit("taosdemo not found!")
print("taosdemo not found!")
sys.exit(1)
binPath = buildPath + "/build/bin/"
os.system(
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册