From ae773996867d4f18153045dc76ace0463622b589 Mon Sep 17 00:00:00 2001 From: aojeagarcia Date: Wed, 6 Mar 2019 18:27:22 +0100 Subject: [PATCH] Use IP addresses to test external connectivity Current IPv6 e2e test for external connectivity is using a domain address (google.com) as target. However, the same IPv4 test uses the well known Google DNS address 8.8.8.8. We should be coherent in the testing, this patch changes the target to use the Google IPv6 DNS address 2001:4860:4860::8888. --- test/e2e/network/networking.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/e2e/network/networking.go b/test/e2e/network/networking.go index 15e6f4f9e37..153578b8d2a 100644 --- a/test/e2e/network/networking.go +++ b/test/e2e/network/networking.go @@ -52,9 +52,9 @@ var _ = SIGDescribe("Networking", func() { }) It("should provide Internet connection for containers [Feature:Networking-IPv6][Experimental]", func() { - By("Running container which tries to ping google.com") + By("Running container which tries to ping 2001:4860:4860::8888") framework.ExpectNoError( - framework.CheckConnectivityToHost(f, "", "ping-test", "google.com", framework.IPv6PingCommand, 30)) + framework.CheckConnectivityToHost(f, "", "ping-test", "2001:4860:4860::8888", framework.IPv6PingCommand, 30)) }) // First test because it has no dependencies on variables created later on.