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.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user