From bed77722453faffccbd39707d9ca5e4c7791e466 Mon Sep 17 00:00:00 2001 From: Ping Xiao Date: Thu, 25 Feb 2021 09:43:49 +0800 Subject: [PATCH] fix scrit issue --- tests/test-all.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/test-all.sh b/tests/test-all.sh index bec0b37148..a99a4dd906 100755 --- a/tests/test-all.sh +++ b/tests/test-all.sh @@ -288,10 +288,10 @@ if [ "$2" != "sim" ] && [ "$2" != "jdbc" ] ; then fi -if [ "$2" != "sim" ] && [ "$2" != "python" ]; then +if [ "$2" != "sim" ] && [ "$2" != "python" ] && [ "$1" == "full" ]; then echo "### run JDBC test case ###" - echo $tests_dir + cd $tests_dir if [[ "$tests_dir" == *"$IN_TDINTERNAL"* ]]; then cd ../../ @@ -299,12 +299,13 @@ if [ "$2" != "sim" ] && [ "$2" != "python" ]; then cd ../ fi + pwd cd debug/ nohup build/bin/taosd -c /etc/taos/ > /dev/null 2>&1 & sleep 30 cd $tests_dir/../src/connector/jdbc - + mvn test > jdbc-out.log 2>&1 tail -n 20 jdbc-out.log -- GitLab