Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
f4dc2071
Commit
f4dc2071
authored
Jun 25, 2015
by
Quinton Hoole
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #10340 from piosz/ping_e2e
Changed ping to netcat in Internet connection test
parents
03121c25
54a8a663
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
networking.go
test/e2e/networking.go
+4
-4
No files found.
test/e2e/networking.go
View file @
f4dc2071
...
@@ -51,9 +51,9 @@ var _ = Describe("Networking", func() {
...
@@ -51,9 +51,9 @@ var _ = Describe("Networking", func() {
})
})
It
(
"should provide Internet connection for containers"
,
func
()
{
It
(
"should provide Internet connection for containers"
,
func
()
{
By
(
"Running container which
pings
google.com"
)
By
(
"Running container which
tries to wget
google.com"
)
podName
:=
"
ping
-test"
podName
:=
"
wget
-test"
contName
:=
"
ping
-test-container"
contName
:=
"
wget
-test-container"
pod
:=
&
api
.
Pod
{
pod
:=
&
api
.
Pod
{
TypeMeta
:
api
.
TypeMeta
{
TypeMeta
:
api
.
TypeMeta
{
Kind
:
"Pod"
,
Kind
:
"Pod"
,
...
@@ -66,7 +66,7 @@ var _ = Describe("Networking", func() {
...
@@ -66,7 +66,7 @@ var _ = Describe("Networking", func() {
{
{
Name
:
contName
,
Name
:
contName
,
Image
:
"gcr.io/google_containers/busybox"
,
Image
:
"gcr.io/google_containers/busybox"
,
Command
:
[]
string
{
"
ping"
,
"-c"
,
"3"
,
"-w"
,
"10
"
,
"google.com"
},
Command
:
[]
string
{
"
wget"
,
"-s
"
,
"google.com"
},
},
},
},
},
RestartPolicy
:
api
.
RestartPolicyNever
,
RestartPolicy
:
api
.
RestartPolicyNever
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment