Make 00965_shard_unresolvable_addresses.sql faster and parallelizable

This commit is contained in:
Raúl Marín 2024-08-06 19:34:56 +02:00
parent 9a297b31f5
commit d09eaac0da

View File

@ -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