diff --git a/tests/perftest-scripts/perftest-query.sh b/tests/perftest-scripts/perftest-query.sh index 0325f552b1d925ea8cda07929a90a33c36329818..9a160846838c76a4bc1f9f6f0b2d08a0f62fc1da 100755 --- a/tests/perftest-scripts/perftest-query.sh +++ b/tests/perftest-scripts/perftest-query.sh @@ -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 diff --git a/tests/test-all.sh b/tests/test-all.sh index efeecd10441bebde0f33436c11fe74d421a4538c..47e5de6aa0bd9821f6c30ba0dce6c03952f0a8a6 100755 --- a/tests/test-all.sh +++ b/tests/test-all.sh @@ -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