reduce thread num and step num.

This commit is contained in:
Shuduo Sang 2020-07-08 19:04:53 +08:00
parent eb92c22251
commit 5aade323bd
2 changed files with 1 additions and 2 deletions

View File

@ -63,7 +63,7 @@ matrix:
pkill -TERM -x taosd pkill -TERM -x taosd
fuser -k -n tcp 6030 fuser -k -n tcp 6030
sleep 1 sleep 1
./crash_gen.sh -a -p -t 5 -s 50|| travis_terminate $? ./crash_gen.sh -a -p -t 4 -s 25|| travis_terminate $?
sleep 1 sleep 1
cd ${TRAVIS_BUILD_DIR}/tests/pytest cd ${TRAVIS_BUILD_DIR}/tests/pytest

View File

@ -41,7 +41,6 @@ fi
TAOSD_DIR=`find $TAOS_DIR -name "taosd"|grep bin|head -n1` TAOSD_DIR=`find $TAOS_DIR -name "taosd"|grep bin|head -n1`
LIB_DIR=`echo $TAOSD_DIR|rev|cut -d '/' -f 3,4,5,6|rev`/lib LIB_DIR=`echo $TAOSD_DIR|rev|cut -d '/' -f 3,4,5,6|rev`/lib
echo $LIB_DIR
# First we need to set up a path for Python to find our own TAOS modules, so that "import" can work. # First we need to set up a path for Python to find our own TAOS modules, so that "import" can work.
export PYTHONPATH=$(pwd)/../../src/connector/python/linux/python3 export PYTHONPATH=$(pwd)/../../src/connector/python/linux/python3