Minor style fix in dns integ test

This commit is contained in:
Arthur Passos 2022-07-21 08:29:40 -03:00
parent 8b49952c7a
commit 03bd7ce7b8

View File

@ -39,8 +39,12 @@ def setup_dns_server(ip):
def setup_ch_server(dns_server_ip):
ch_server.exec_in_container((["bash", "-c", f"echo 'nameserver {dns_server_ip}' > /etc/resolv.conf"]))
ch_server.exec_in_container((["bash", "-c", "echo 'options ndots:0' >> /etc/resolv.conf"]))
ch_server.exec_in_container(
(["bash", "-c", f"echo 'nameserver {dns_server_ip}' > /etc/resolv.conf"])
)
ch_server.exec_in_container(
(["bash", "-c", "echo 'options ndots:0' >> /etc/resolv.conf"])
)
ch_server.query("SYSTEM DROP DNS CACHE")