diff --git a/tests/parallel_test/container_build.sh b/tests/parallel_test/container_build.sh index 2257ba6829..be8ca69254 100755 --- a/tests/parallel_test/container_build.sh +++ b/tests/parallel_test/container_build.sh @@ -51,13 +51,13 @@ else REP_REAL_PATH=$WORKDIR/TDinternal REP_MOUNT_PARAM=$REP_REAL_PATH:/home/TDinternal fi - +date docker run \ -v $REP_MOUNT_PARAM \ --rm --ulimit core=-1 taos_test:v1.0 sh -c "cd $REP_DIR;rm -rf debug;mkdir -p debug;cd debug;cmake .. -DBUILD_HTTP=false -DBUILD_TOOLS=true -DBUILD_TEST=true -DWEBSOCKET=true;make -j $THREAD_COUNT" mv ${REP_REAL_PATH}/debug ${WORKDIR}/debugNoSan - +date docker run \ -v $REP_MOUNT_PARAM \ --rm --ulimit core=-1 taos_test:v1.0 sh -c "cd $REP_DIR;rm -rf debug;mkdir -p debug;cd debug;cmake .. -DBUILD_HTTP=false -DBUILD_TOOLS=true -DBUILD_TEST=true -DWEBSOCKET=true -DSANITIZER=true;make -j $THREAD_COUNT" diff --git a/tests/parallel_test/run.sh b/tests/parallel_test/run.sh index e7bab707ef..efbe83be61 100755 --- a/tests/parallel_test/run.sh +++ b/tests/parallel_test/run.sh @@ -192,7 +192,7 @@ function run_thread() { if [ ! -z "$case_path" ]; then mkdir -p $log_dir/$case_path fi - cmd="${runcase_script} ${script} -w ${workdirs[index]} -c \"${case_cmd}\" -t ${thread_no} -d ${exec_dir} ${timeout_param} -s ${case_build_san}" + cmd="${runcase_script} ${script} -w ${workdirs[index]} -c \"${case_cmd}\" -t ${thread_no} -d ${exec_dir} -s ${case_build_san} ${timeout_param}" # echo "$thread_no $count $cmd" local ret=0 local redo_count=1 diff --git a/tests/parallel_test/run_container.sh b/tests/parallel_test/run_container.sh index 9083510d10..d93a0f9e96 100755 --- a/tests/parallel_test/run_container.sh +++ b/tests/parallel_test/run_container.sh @@ -34,7 +34,7 @@ while getopts "w:d:c:t:o:e:sh" opt; do extra_param="-o $OPTARG" ;; s) - buildSan="-o $OPTARG" + buildSan=$OPTARG ;; h) usage