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

10 lines
271 B
MySQL
Raw Normal View History

2021-09-12 12:35:27 +00:00
-- Tags: shard
2022-02-11 14:15:56 +00:00
SET prefer_localhost_replica = 1;
SELECT count() FROM remote('127.0.0.1,localhos', system.one); -- { serverError 198 }
2019-07-08 02:03:01 +00:00
SELECT count() FROM remote('127.0.0.1|localhos', system.one);
-- Clear cache to avoid future errors in the logs
SYSTEM DROP DNS CACHE