From 2ced9e95e6ab8b24e7201ae010e835f4e5a4025c Mon Sep 17 00:00:00 2001 From: nicholasyang Date: Tue, 15 Oct 2024 17:42:00 +0800 Subject: [PATCH] try to simplify /etc/resolv.conf --- test/run-functional-tests | 1 + 1 file changed, 1 insertion(+) diff --git a/test/run-functional-tests b/test/run-functional-tests index d599704ba..fbd92169a 100755 --- a/test/run-functional-tests +++ b/test/run-functional-tests @@ -213,6 +213,7 @@ deploy_ha_node() { for network in ${HA_NETWORK_ARRAY[@]};do docker network connect --alias $node_name $network $node_name done + docker_exec $node_name "echo 'nameserver 127.0.0.11' > /etc/resolv.conf'" docker_exec $node_name "/opt/lookup hanode2" if [ "$node_name" != "qnetd-node" ];then