From 54a8a66329b0235c4980e747843c78f33e1015c4 Mon Sep 17 00:00:00 2001 From: Piotr Szczesniak Date: Thu, 25 Jun 2015 10:34:09 +0200 Subject: [PATCH] Changed ping to netcat in Internet connection test Follow up #10285 --- test/e2e/networking.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/e2e/networking.go b/test/e2e/networking.go index 9d1140d2732..25deb6f8be2 100644 --- a/test/e2e/networking.go +++ b/test/e2e/networking.go @@ -51,9 +51,9 @@ var _ = Describe("Networking", func() { }) It("should provide Internet connection for containers", func() { - By("Running container which pings google.com") - podName := "ping-test" - contName := "ping-test-container" + By("Running container which tries to wget google.com") + podName := "wget-test" + contName := "wget-test-container" pod := &api.Pod{ TypeMeta: api.TypeMeta{ Kind: "Pod", @@ -66,7 +66,7 @@ var _ = Describe("Networking", func() { { Name: contName, Image: "gcr.io/google_containers/busybox", - Command: []string{"ping", "-c", "3", "-w", "10", "google.com"}, + Command: []string{"wget", "-s", "google.com"}, }, }, RestartPolicy: api.RestartPolicyNever,