mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 16:42:05 +00:00
Fix host_regexp hosts file tst
This commit is contained in:
parent
961365c7a4
commit
dd49b44abb
@ -35,9 +35,10 @@ def started_cluster():
|
||||
|
||||
def test_host_regexp_multiple_ptr_hosts_file_v4(started_cluster):
|
||||
server_ip = cluster.get_instance_ip("clickhouse-server")
|
||||
client_ip = cluster.get_instance_ip("clickhouse-client")
|
||||
|
||||
ch_server.exec_in_container(
|
||||
(["bash", "-c", f"echo '{server_ip} test1.example.com' > /etc/hosts"])
|
||||
(["bash", "-c", f"echo '{client_ip} test1.example.com' > /etc/hosts"])
|
||||
)
|
||||
|
||||
endpoint = build_endpoint_v4(server_ip)
|
||||
|
Loading…
Reference in New Issue
Block a user