Merge pull request #26715 from Algunenano/fix_hostname_test

01946_test_wrong_host_name_access: Clear DNS in the end
This commit is contained in:
alexey-milovidov 2021-07-24 18:56:22 +03:00 committed by GitHub
commit fa6b22e3f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,3 +16,5 @@ ${CLICKHOUSE_CLIENT} --query "SELECT 1" --user dns_fail_1 --host ${MYHOSTNAME}
${CLICKHOUSE_CLIENT} --query "SELECT 2" --user dns_fail_2 --host ${MYHOSTNAME} ${CLICKHOUSE_CLIENT} --query "SELECT 2" --user dns_fail_2 --host ${MYHOSTNAME}
${CLICKHOUSE_CLIENT} --query "DROP USER IF EXISTS dns_fail_1, dns_fail_2" ${CLICKHOUSE_CLIENT} --query "DROP USER IF EXISTS dns_fail_1, dns_fail_2"
${CLICKHOUSE_CLIENT} --query "SYSTEM DROP DNS CACHE"