This commit is contained in:
Nikita Mikhaylov 2021-08-29 22:21:05 +00:00
parent cc73ca17d3
commit 5f7a1bab94
2 changed files with 6 additions and 15 deletions

View File

@ -13,7 +13,6 @@ do
sleep 1 sleep 1
done done
ps aux | grep minio
lsof -i :11111 lsof -i :11111
./mc alias set clickminio http://localhost:11111 clickhouse clickhouse ./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 # Upload data to Minio. By default after unpacking all tests will in
# /usr/share/clickhouse-test/queries # /usr/share/clickhouse-test/queries
ls -lha /usr/share cd /usr/share/clickhouse-test/queries/0_stateless/data_minio
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/test_minio FILES=$(ls .)
for FILE in $FILES; do
# FILES=$(ls .) echo $FILE;
# for FILE in $FILES; do /mc cp $FILE clickminio/test/$FILE;
# echo $FILE; done
# /mc cp $FILE clickminio/test/$FILE;
# done

View File

@ -4,9 +4,6 @@ CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
# shellcheck source=../shell_config.sh # shellcheck source=../shell_config.sh
. "$CURDIR"/../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 '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 '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"; 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";