未验证 提交 8f53fcbe 编写于 作者: H huili 提交者: GitHub

Merge pull request #5893 from taosdata/xiaoping/add_test_case

enable apitest and add sleep time
......@@ -64,7 +64,7 @@ function runQueryPerfTest {
[ -f $PERFORMANCE_TEST_REPORT ] && rm $PERFORMANCE_TEST_REPORT
nohup $WORK_DIR/TDengine/debug/build/bin/taosd -c /etc/taosperf/ > /dev/null 2>&1 &
echoInfo "Wait TDengine to start"
sleep 120
sleep 300
echoInfo "Run Performance Test"
cd $WORK_DIR/TDengine/tests/pytest
......
......@@ -481,14 +481,14 @@ if [ "$2" != "sim" ] && [ "$2" != "python" ] && [ "$2" != "jdbc" ] && [ "$2" !=
totalExamplePass=0
echo "Running tests"
# ./apitest > /dev/null 2>&1
# if [ $? != "0" ]; then
# echo "apitest failed"
# totalExampleFailed=`expr $totalExampleFailed + 1`
# else
# echo "apitest pass"
# totalExamplePass=`expr $totalExamplePass + 1`
# fi
./apitest > /dev/null 2>&1
if [ $? != "0" ]; then
echo "apitest failed"
totalExampleFailed=`expr $totalExampleFailed + 1`
else
echo "apitest pass"
totalExamplePass=`expr $totalExamplePass + 1`
fi
./prepare 127.0.0.1 > /dev/null 2>&1
if [ $? != "0" ]; then
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册