mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 00:30:49 +00:00
Merge pull request #44123 from azat/tests/01293_show_clusters
tests: exclude flaky columns from SHOW CLUSTERS test
This commit is contained in:
commit
219343d8b0
@ -1,2 +1,2 @@
|
||||
test_shard_localhost
|
||||
test_shard_localhost 1 1 1 localhost ::1 9000 1 default 0 0 0
|
||||
test_shard_localhost 1 1 1 localhost ::1 9000 1 default
|
||||
|
9
tests/queries/0_stateless/01293_show_clusters.sh
Executable file
9
tests/queries/0_stateless/01293_show_clusters.sh
Executable file
@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
CUR_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
|
||||
# shellcheck source=../shell_config.sh
|
||||
. "$CUR_DIR"/../shell_config.sh
|
||||
|
||||
$CLICKHOUSE_CLIENT -q "show clusters like 'test_shard%' limit 1"
|
||||
# cluster,shard_num,shard_weight,replica_num,host_name,host_address,port,is_local,user,default_database[,errors_count,slowdowns_count,estimated_recovery_time]
|
||||
$CLICKHOUSE_CLIENT -q "show cluster 'test_shard_localhost'" | cut -f-10
|
@ -1,4 +0,0 @@
|
||||
-- don't show all clusters to reduce dependency on the configuration of server
|
||||
set send_logs_level = 'fatal';
|
||||
show clusters like 'test_shard%' limit 1;
|
||||
show cluster 'test_shard_localhost';
|
Loading…
Reference in New Issue
Block a user