From cc73ca17d3b60267d9ce025e97d278f10982386c Mon Sep 17 00:00:00 2001 From: Nikita Mikhaylov Date: Sun, 29 Aug 2021 20:31:54 +0000 Subject: [PATCH] Debug --- docker/test/stateless/setup_minio.sh | 17 +++++++++++------ tests/queries/0_stateless/02011_http_parsing.sh | 3 +++ 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/docker/test/stateless/setup_minio.sh b/docker/test/stateless/setup_minio.sh index 5f0e2bab5be..954bf23acb2 100755 --- a/docker/test/stateless/setup_minio.sh +++ b/docker/test/stateless/setup_minio.sh @@ -25,10 +25,15 @@ lsof -i :11111 # Upload data to Minio. By default after unpacking all tests will in # /usr/share/clickhouse-test/queries -cd /usr/share/clickhouse-test/queries/0_stateless/test_minio +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 -FILES=$(ls .) -for FILE in $FILES; do - echo $FILE; - /mc cp $FILE clickminio/test/$FILE; -done +# 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 diff --git a/tests/queries/0_stateless/02011_http_parsing.sh b/tests/queries/0_stateless/02011_http_parsing.sh index 8021f7c550b..ddfd9af3753 100755 --- a/tests/queries/0_stateless/02011_http_parsing.sh +++ b/tests/queries/0_stateless/02011_http_parsing.sh @@ -4,6 +4,9 @@ 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";