mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 00:22:29 +00:00
better
This commit is contained in:
parent
cc73ca17d3
commit
5f7a1bab94
@ -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
|
||||
|
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user