Merge pull request #5893 from taosdata/xiaoping/add_test_case
enable apitest and add sleep time
This commit is contained in:
commit
8f53fcbe57
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue