提交 56dc7b73 编写于 作者: P Ping Xiao

enable apitest and add sleep time

上级 eb318dcd
......@@ -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.
先完成此消息的编辑!
想要评论请 注册