This commit is contained in:
Nikita Mikhaylov 2021-08-29 20:31:54 +00:00
parent dbe13ffc0f
commit cc73ca17d3
2 changed files with 14 additions and 6 deletions
docker/test/stateless
tests/queries/0_stateless

View File

@ -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

View File

@ -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";