ClickHouse/tests/queries/0_stateless/00965_shard_unresolvable_addresses.sql

10 lines
271 B
SQL

-- Tags: shard
SET prefer_localhost_replica = 1;
SELECT count() FROM remote('127.0.0.1,localhos', system.one); -- { serverError 198 }
SELECT count() FROM remote('127.0.0.1|localhos', system.one);
-- Clear cache to avoid future errors in the logs
SYSTEM DROP DNS CACHE