mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 00:22:29 +00:00
Add a test
This commit is contained in:
parent
23eb01069c
commit
a0ff04e0e7
@ -0,0 +1,3 @@
|
||||
31337
|
||||
31337
|
||||
31337
|
21
tests/queries/0_stateless/02834_client_yaml_configs.sh
Executable file
21
tests/queries/0_stateless/02834_client_yaml_configs.sh
Executable file
@ -0,0 +1,21 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
CUR_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
|
||||
# shellcheck source=../shell_config.sh
|
||||
. "$CUR_DIR"/../shell_config.sh
|
||||
|
||||
pushd "${CLICKHOUSE_TMP}" > /dev/null
|
||||
|
||||
echo "max_block_size: 31337" > clickhouse-client.yaml
|
||||
${CLICKHOUSE_CLIENT} --query "SELECT getSetting('max_block_size')"
|
||||
rm clickhouse-client.yaml
|
||||
|
||||
echo "max_block_size: 31337" > clickhouse-client.yml
|
||||
${CLICKHOUSE_CLIENT} --query "SELECT getSetting('max_block_size')"
|
||||
rm clickhouse-client.yml
|
||||
|
||||
echo "<clickhouse><max_block_size>31337</max_block_size></clickhouse>" > clickhouse-client.xml
|
||||
${CLICKHOUSE_CLIENT} --query "SELECT getSetting('max_block_size')"
|
||||
rm clickhouse-client.xml
|
||||
|
||||
popd > /dev/null
|
Loading…
Reference in New Issue
Block a user