01946_test_wrong_host_name_access: Clear DNS in the end

Leaves a better env and avoids future errors in the logs
This commit is contained in:
Raúl Marín 2021-07-22 18:21:17 +02:00
parent 60ca9990e5
commit cb50fd9521

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 "DROP USER IF EXISTS dns_fail_1, dns_fail_2"
${CLICKHOUSE_CLIENT} --query "SYSTEM DROP DNS CACHE"