From 5aade323bd95e159c020b407fbb066e03541a4cc Mon Sep 17 00:00:00 2001 From: Shuduo Sang Date: Wed, 8 Jul 2020 19:04:53 +0800 Subject: [PATCH] reduce thread num and step num. --- .travis.yml | 2 +- tests/pytest/crash_gen.sh | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 430cb46552..71cfb46667 100644 --- a/.travis.yml +++ b/.travis.yml @@ -63,7 +63,7 @@ matrix: pkill -TERM -x taosd fuser -k -n tcp 6030 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 cd ${TRAVIS_BUILD_DIR}/tests/pytest diff --git a/tests/pytest/crash_gen.sh b/tests/pytest/crash_gen.sh index 3c04cd6198..f6be6aae49 100755 --- a/tests/pytest/crash_gen.sh +++ b/tests/pytest/crash_gen.sh @@ -41,7 +41,6 @@ fi 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 -echo $LIB_DIR # 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 -- GitLab