From 0a7492c9c012f65e5bf1ac7677977b436ad9e87c Mon Sep 17 00:00:00 2001 From: chenhaoran Date: Thu, 10 Nov 2022 12:00:18 +0800 Subject: [PATCH] ci:add the comment in cases.task --- tests/parallel_test/cases.task | 14 ++++++++++++++ tests/parallel_test/run_container.sh | 8 ++++---- 2 files changed, 18 insertions(+), 4 deletions(-) diff --git a/tests/parallel_test/cases.task b/tests/parallel_test/cases.task index f65156f04c..ad8444f795 100644 --- a/tests/parallel_test/cases.task +++ b/tests/parallel_test/cases.task @@ -1,4 +1,11 @@ +#Coulumn Define +#caseID,rerunTimes,Run with Sanitizer,casePath,caseCommand +#NA,NA,y or n,script,./test.sh -f tsim/user/basic.sim + +#unit-test ,,y,unit-test,bash test.sh + +#tsim test ,,y,script,./test.sh -f tsim/user/basic.sim ,,y,script,./test.sh -f tsim/user/password.sim ,,,script,./test.sh -f tsim/user/privilege_db.sim @@ -386,6 +393,9 @@ ,,,script,./test.sh -f tsim/tag/drop_tag.sim ,,,script,./test.sh -f tsim/tag/tbNameIn.sim ,,,script,./test.sh -f tmp/monitor.sim + +#system test + ,,,system-test,python3 ./test.py -f 0-others/taosShell.py ,,,system-test,python3 ./test.py -f 0-others/taosShellError.py ,,,system-test,python3 ./test.py -f 0-others/taosShellNetChk.py @@ -982,6 +992,8 @@ ,,,system-test,python3 ./test.py -f 2-query/tsbsQuery.py -Q 4 ,,,system-test,python3 ./test.py -f 2-query/sml.py -Q 4 ,,,system-test,python3 ./test.py -f 2-query/interp.py -Q 4 + +#develop test ,,,develop-test,python3 ./test.py -f 5-taos-tools/taosbenchmark/auto_create_table_json.py ,,,develop-test,python3 ./test.py -f 5-taos-tools/taosbenchmark/custom_col_tag.py ,,,develop-test,python3 ./test.py -f 5-taos-tools/taosbenchmark/default_json.py @@ -993,6 +1005,8 @@ ,,,develop-test,python3 ./test.py -f 5-taos-tools/taosbenchmark/sample_csv_json.py ,,,develop-test,python3 ./test.py -f 5-taos-tools/taosbenchmark/sml_json_alltypes.py ,,,develop-test,python3 ./test.py -f 5-taos-tools/taosbenchmark/taosdemoTestQueryWithJson.py -R + +#docs-examples test ,,,docs-examples-test,bash python.sh ,,,docs-examples-test,bash node.sh ,,,docs-examples-test,bash csharp.sh diff --git a/tests/parallel_test/run_container.sh b/tests/parallel_test/run_container.sh index 9d76f40193..eee80dad41 100755 --- a/tests/parallel_test/run_container.sh +++ b/tests/parallel_test/run_container.sh @@ -84,8 +84,8 @@ if [ $ent -ne 0 ]; then CONTAINER_TESTDIR=/home/TDinternal/community SIM_DIR=/home/TDinternal/sim REP_MOUNT_PARAM="$INTERNAL_REPDIR:/home/TDinternal" - REP_MOUNT_DEBUG="${REPDIR_DEBUG}:/home/TDinternal/debug/:ro" - + REP_MOUNT_DEBUG="${REPDIR_DEBUG}:/home/TDinternal/debug/" + REP_MOUNT_LIB="${REPDIR_DEBUG}/build/lib:/home/TDinternal/debug/build/lib:ro" else # community edition REPDIR=$WORKDIR/TDengine @@ -93,8 +93,8 @@ else CONTAINER_TESTDIR=/home/TDengine SIM_DIR=/home/TDengine/sim REP_MOUNT_PARAM="$REPDIR:/home/TDengine" - REP_MOUNT_DEBUG="${REPDIR_DEBUG}:/home/TDengine/debug/:ro" - + REP_MOUNT_DEBUG="${REPDIR_DEBUG}:/home/TDengine/debug/" + REP_MOUNT_LIB="${REPDIR_DEBUG}/build/lib:/home/TDinternal/debug/build/lib:ro" fi ulimit -c unlimited