From 494abf094e9732f1c8c0744811e9982180a69cc8 Mon Sep 17 00:00:00 2001 From: Ping Xiao Date: Fri, 5 Mar 2021 13:10:48 +0800 Subject: [PATCH] Fix some issues --- Jenkinsfile | 2 ++ tests/Jenkinsfile | 6 ++++++ tests/test-all.sh | 2 +- 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 976812bd0a..8d2429c137 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -227,6 +227,8 @@ pipeline { ./test-all.sh p4 cd ${WKC}/tests ./test-all.sh full jdbc + cd ${WKC}/tests + ./test-all.sh full unit date''' } } diff --git a/tests/Jenkinsfile b/tests/Jenkinsfile index 2f8b0de09d..7cdcfb2e24 100644 --- a/tests/Jenkinsfile +++ b/tests/Jenkinsfile @@ -55,9 +55,15 @@ pipeline { sh ''' cd ${WKC}/tests ./test-all.sh b1 + date''' + sh ''' cd ${WKC}/tests ./test-all.sh full jdbc date''' + sh ''' + cd ${WKC}/tests + ./test-all.sh full unit + date''' } } diff --git a/tests/test-all.sh b/tests/test-all.sh index a6ef13a04a..4f7afe7d17 100755 --- a/tests/test-all.sh +++ b/tests/test-all.sh @@ -160,7 +160,7 @@ function runPyCaseOneByOnefq { totalFailed=0 totalPyFailed=0 totalJDBCFailed=0 -totalUnitTestFailed=0 +totalUnitFailed=0 corepath=`grep -oP '.*(?=core_)' /proc/sys/kernel/core_pattern||grep -oP '.*(?=core-)' /proc/sys/kernel/core_pattern` if [ "$2" != "jdbc" ] && [ "$2" != "python" ] && [ "$2" != "unit" ]; then -- GitLab