From d2a41dbf738785bf19de888e94a3b15ed373578f Mon Sep 17 00:00:00 2001 From: Zicheng Huang Date: Tue, 23 Aug 2022 19:27:09 +0200 Subject: [PATCH] Fix the integration test --- cmd/node-cache/app/cache_app_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/node-cache/app/cache_app_test.go b/cmd/node-cache/app/cache_app_test.go index f9f78356f..7caed0202 100644 --- a/cmd/node-cache/app/cache_app_test.go +++ b/cmd/node-cache/app/cache_app_test.go @@ -170,7 +170,7 @@ func TestUpdateCoreFile(t *testing.T) { } customConfig := &config.Config{StubDomains: map[string][]string{ "acme.local": {"1.1.1.1"}, - "google.local": {"google-public-dns-a.google.com"}, + "google.local": {"8.8.8.8"}, "widget.local": {"2.2.2.2:10053", "3.3.3.3"}, }, UpstreamNameservers: []string{"2.2.2.2:10053", "3.3.3.3"}, @@ -246,7 +246,7 @@ func TestUpdateIPv6CoreFile(t *testing.T) { } customConfig := &config.Config{StubDomains: map[string][]string{ "acme.local": {"2001:db8:1:1:1::1"}, - "google.local": {"google-public-dns-a.google.com"}, + "google.local": {"8.8.8.8"}, "widget.local": {"[2001:db8:2:2:2::2]:10053", "2001:db8:3:3:3::3"}, }, UpstreamNameservers: []string{"[2001:db8:2:2:2::2]:10053", "2001:db8:3:3:3::3"},