提交 72b92e96 编写于 作者: haoranc's avatar haoranc

test:recover testcase and environment

上级 d2e4b0b5
...@@ -2,19 +2,19 @@ ...@@ -2,19 +2,19 @@
set -e set -e
set -x set -x
# python3 ./test.py -f 5-taos-tools/taosbenchmark/auto_create_table_json.py python3 ./test.py -f 5-taos-tools/taosbenchmark/auto_create_table_json.py
# #python3 ./test.py -f 5-taos-tools/taosbenchmark/commandline.py #python3 ./test.py -f 5-taos-tools/taosbenchmark/commandline.py
# python3 ./test.py -f 5-taos-tools/taosbenchmark/custom_col_tag.py python3 ./test.py -f 5-taos-tools/taosbenchmark/custom_col_tag.py
# python3 ./test.py -f 5-taos-tools/taosbenchmark/default_json.py python3 ./test.py -f 5-taos-tools/taosbenchmark/default_json.py
# python3 ./test.py -f 5-taos-tools/taosbenchmark/demo.py python3 ./test.py -f 5-taos-tools/taosbenchmark/demo.py
# python3 ./test.py -f 5-taos-tools/taosbenchmark/insert_alltypes_json.py python3 ./test.py -f 5-taos-tools/taosbenchmark/insert_alltypes_json.py
# python3 ./test.py -f 5-taos-tools/taosbenchmark/invalid_commandline.py python3 ./test.py -f 5-taos-tools/taosbenchmark/invalid_commandline.py
# python3 ./test.py -f 5-taos-tools/taosbenchmark/json_tag.py python3 ./test.py -f 5-taos-tools/taosbenchmark/json_tag.py
# #python3 ./test.py -f 5-taos-tools/taosbenchmark/limit_offset_json.py #python3 ./test.py -f 5-taos-tools/taosbenchmark/limit_offset_json.py
# python3 ./test.py -f 5-taos-tools/taosbenchmark/query_json.py python3 ./test.py -f 5-taos-tools/taosbenchmark/query_json.py
# python3 ./test.py -f 5-taos-tools/taosbenchmark/sample_csv_json.py python3 ./test.py -f 5-taos-tools/taosbenchmark/sample_csv_json.py
# #python3 ./test.py -f 5-taos-tools/taosbenchmark/sml_interlace.py #python3 ./test.py -f 5-taos-tools/taosbenchmark/sml_interlace.py
# python3 ./test.py -f 5-taos-tools/taosbenchmark/sml_json_alltypes.py python3 ./test.py -f 5-taos-tools/taosbenchmark/sml_json_alltypes.py
# #python3 ./test.py -f 5-taos-tools/taosbenchmark/sml_telnet_alltypes.py #python3 ./test.py -f 5-taos-tools/taosbenchmark/sml_telnet_alltypes.py
# #python3 ./test.py -f 5-taos-tools/taosbenchmark/taosadapter_json.py #python3 ./test.py -f 5-taos-tools/taosbenchmark/taosadapter_json.py
# #python3 ./test.py -f 5-taos-tools/taosbenchmark/telnet_tcp.py #python3 ./test.py -f 5-taos-tools/taosbenchmark/telnet_tcp.py
...@@ -79,8 +79,7 @@ if [ $RET -ne 0 ]; then ...@@ -79,8 +79,7 @@ if [ $RET -ne 0 ]; then
pwd pwd
fi fi
sleep 36000
exit $RET exit $RET
...@@ -68,7 +68,7 @@ if [ $ent -ne 0 ]; then ...@@ -68,7 +68,7 @@ if [ $ent -ne 0 ]; then
CONTAINER_TESTDIR=/home/TDinternal/community CONTAINER_TESTDIR=/home/TDinternal/community
SIM_DIR=/home/TDinternal/sim SIM_DIR=/home/TDinternal/sim
REP_MOUNT_PARAM="$INTERNAL_REPDIR:/home/TDinternal" REP_MOUNT_PARAM="$INTERNAL_REPDIR:/home/TDinternal"
REP_MOUNT_LIB="$INTERNAL_REPDIR/debug/build/lib:/home/TDinternal/debug/build/lib" REP_MOUNT_LIB="$INTERNAL_REPDIR/debug/build/lib:/home/TDinternal/debug/build/lib:ro"
else else
# community edition # community edition
...@@ -76,7 +76,7 @@ else ...@@ -76,7 +76,7 @@ else
CONTAINER_TESTDIR=/home/TDengine CONTAINER_TESTDIR=/home/TDengine
SIM_DIR=/home/TDengine/sim SIM_DIR=/home/TDengine/sim
REP_MOUNT_PARAM="$REPDIR:/home/TDengine" REP_MOUNT_PARAM="$REPDIR:/home/TDengine"
REP_MOUNT_LIB="$REPDIR/debug/build/lib:/home/TDengine/debug/build/lib" REP_MOUNT_LIB="$REPDIR/debug/build/lib:/home/TDengine/debug/build/lib:ro"
fi fi
...@@ -114,7 +114,7 @@ docker run \ ...@@ -114,7 +114,7 @@ docker run \
-v ${TMP_DIR}/thread_volume/$thread_no/coredump:$coredump_dir \ -v ${TMP_DIR}/thread_volume/$thread_no/coredump:$coredump_dir \
-v $WORKDIR/taos-connector-python/taos:/usr/local/lib/python3.8/site-packages/taos:ro \ -v $WORKDIR/taos-connector-python/taos:/usr/local/lib/python3.8/site-packages/taos:ro \
-v $WORKDIR/taos-connector-python/taosrest:/usr/local/lib/python3.8/site-packages/taosrest:ro \ -v $WORKDIR/taos-connector-python/taosrest:/usr/local/lib/python3.8/site-packages/taosrest:ro \
--ulimit core=-1 taos_test:v1.0 $CONTAINER_TESTDIR/tests/parallel_test/run_case.sh -d "$exec_dir" -c "$cmd" $extra_param --rm --ulimit core=-1 taos_test:v1.0 $CONTAINER_TESTDIR/tests/parallel_test/run_case.sh -d "$exec_dir" -c "$cmd" $extra_param
ret=$? ret=$?
exit $ret exit $ret
此差异已折叠。
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册