From 06d2af3f07d99be4cc869a2bcd961fb20304a846 Mon Sep 17 00:00:00 2001 From: zhangyangyu Date: Thu, 19 May 2022 14:12:27 +0800 Subject: [PATCH] fix ci --- tests/integration_tests/http_api/run.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/integration_tests/http_api/run.sh b/tests/integration_tests/http_api/run.sh index 07bd9ea3693..c33becb6010 100644 --- a/tests/integration_tests/http_api/run.sh +++ b/tests/integration_tests/http_api/run.sh @@ -16,7 +16,7 @@ function run() { return fi - sudo pip install -U requests==2.26.0 + sudo python3 -m pip install -U requests==2.26.0 rm -rf $WORK_DIR && mkdir -p $WORK_DIR @@ -60,10 +60,10 @@ function run() { SINK_URI="mysql://normal:123456@127.0.0.1:3306/" - python $CUR/util/test_case.py check_health $TLS_DIR - python $CUR/util/test_case.py get_status $TLS_DIR + python3 $CUR/util/test_case.py check_health $TLS_DIR + python3 $CUR/util/test_case.py get_status $TLS_DIR - python $CUR/util/test_case.py create_changefeed $TLS_DIR "$SINK_URI" + python3 $CUR/util/test_case.py create_changefeed $TLS_DIR "$SINK_URI" # wait for all changefeed created ensure $MAX_RETRIES check_changefeed_state "https://${TLS_PD_HOST}:${TLS_PD_PORT}" "changefeed-test1" "normal" "null" ${TLS_DIR} ensure $MAX_RETRIES check_changefeed_state "https://${TLS_PD_HOST}:${TLS_PD_PORT}" "changefeed-test2" "normal" "null" ${TLS_DIR} @@ -112,7 +112,7 @@ function run() { ) for case in ${sequential_cases[@]}; do - python $CUR/util/test_case.py "$case" $TLS_DIR + python3 $CUR/util/test_case.py "$case" $TLS_DIR done cleanup_process $CDC_BINARY