Merge pull request #27092 from Algunenano/clear_dns_test

Stateless tests: Keep an DNS error free log
This commit is contained in:
Nikita Mikhaylov 2021-08-02 21:44:15 +03:00 committed by GitHub
commit 771bd6be11
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 0 deletions

View File

@ -1,2 +1,5 @@
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

View File

@ -68,3 +68,6 @@ INSERT INTO buffer VALUES (1);
-- | |-> file (1)
-- |-> remote(127.0.0.2) --> ...
SELECT sum(n) from rich_syntax;
-- Clear cache to avoid future errors in the logs
SYSTEM DROP DNS CACHE

View File

@ -1 +1,4 @@
SELECT * FROM remote('127..2', 'a.'); -- { serverError 36 }
-- Clear cache to avoid future errors in the logs
SYSTEM DROP DNS CACHE