mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 09:02:00 +00:00
Make 00965_shard_unresolvable_addresses.sql faster and parallelizable
This commit is contained in:
parent
9a297b31f5
commit
d09eaac0da
@ -1,9 +1,9 @@
|
|||||||
-- Tags: shard, no-parallel
|
-- Tags: shard
|
||||||
|
|
||||||
SET prefer_localhost_replica = 1;
|
SET prefer_localhost_replica = 1;
|
||||||
|
SET connections_with_failover_max_tries=1;
|
||||||
|
SET connect_timeout_with_failover_ms=2000;
|
||||||
|
SET connect_timeout_with_failover_secure_ms=2000;
|
||||||
|
|
||||||
SELECT count() FROM remote('127.0.0.1,localhos', system.one); -- { serverError ALL_CONNECTION_TRIES_FAILED }
|
SELECT count() FROM remote('127.0.0.1,localhos', system.one); -- { serverError ALL_CONNECTION_TRIES_FAILED }
|
||||||
SELECT count() FROM remote('127.0.0.1|localhos', system.one);
|
SELECT count() FROM remote('127.0.0.1|localhos', system.one);
|
||||||
|
|
||||||
-- Clear cache to avoid future errors in the logs
|
|
||||||
SYSTEM DROP DNS CACHE
|
|
||||||
|
Loading…
Reference in New Issue
Block a user