diff --git a/docker/test/stateless/setup_minio.sh b/docker/test/stateless/setup_minio.sh index 954bf23acb2..8b5179333a7 100755 --- a/docker/test/stateless/setup_minio.sh +++ b/docker/test/stateless/setup_minio.sh @@ -13,7 +13,6 @@ do sleep 1 done -ps aux | grep minio lsof -i :11111 ./mc alias set clickminio http://localhost:11111 clickhouse clickhouse @@ -25,15 +24,10 @@ lsof -i :11111 # Upload data to Minio. By default after unpacking all tests will in # /usr/share/clickhouse-test/queries -ls -lha /usr/share -ls -lha /usr/share/clickhouse-test -ls -lha /usr/share/clickhouse-test/queries -ls -lha /usr/share/clickhouse-test/queries/0_stateless +cd /usr/share/clickhouse-test/queries/0_stateless/data_minio -# cd /usr/share/clickhouse-test/queries/0_stateless/test_minio - -# FILES=$(ls .) -# for FILE in $FILES; do -# echo $FILE; -# /mc cp $FILE clickminio/test/$FILE; -# done +FILES=$(ls .) +for FILE in $FILES; do + echo $FILE; + /mc cp $FILE clickminio/test/$FILE; +done diff --git a/tests/queries/0_stateless/02011_http_parsing.sh b/tests/queries/0_stateless/02011_http_parsing.sh index ddfd9af3753..8021f7c550b 100755 --- a/tests/queries/0_stateless/02011_http_parsing.sh +++ b/tests/queries/0_stateless/02011_http_parsing.sh @@ -4,9 +4,6 @@ CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd) # shellcheck source=../shell_config.sh . "$CURDIR"/../shell_config.sh -echo "FIXME" -echo $CURDIR - echo -ne 'One\nTwo\n' | ${CLICKHOUSE_CURL} -sSF 'metrics_list=@-;' "${CLICKHOUSE_URL}/?metrics_list_format=TSV&metrics_list_structure=Path+String&query=SELECT+*+FROM+metrics_list"; echo -ne 'Three\nFour' | ${CLICKHOUSE_CURL} -sSF 'metrics_list=@-;' "${CLICKHOUSE_URL}/?metrics_list_format=TSV&metrics_list_structure=Path+String&query=SELECT+*+FROM+metrics_list"; echo -ne 'Five\n' | ${CLICKHOUSE_CURL} -sSF 'metrics_list=@-;' "${CLICKHOUSE_URL}/?metrics_list_format=TSV&metrics_list_structure=Path+String&query=SELECT+*+FROM+metrics_list";