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
d1154ce9
Commit
d1154ce9
authored
Aug 29, 2016
by
Kubernetes Submit Queue
Committed by
GitHub
Aug 29, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #31632 from vishh/issue-30567
Automatic merge from submit-queue Fix pod get logs test Helps debug #30567.
parents
956501b1
8e29b981
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
pods.go
test/e2e/common/pods.go
+2
-6
No files found.
test/e2e/common/pods.go
View file @
d1154ce9
...
@@ -530,17 +530,13 @@ var _ = framework.KubeDescribe("Pods", func() {
...
@@ -530,17 +530,13 @@ var _ = framework.KubeDescribe("Pods", func() {
{
{
Name
:
"main"
,
Name
:
"main"
,
Image
:
"gcr.io/google_containers/busybox:1.24"
,
Image
:
"gcr.io/google_containers/busybox:1.24"
,
Command
:
[]
string
{
"/bin/sh"
,
"-c"
,
"echo container is alive; sleep
6
00"
},
Command
:
[]
string
{
"/bin/sh"
,
"-c"
,
"echo container is alive; sleep
100
00"
},
},
},
},
},
},
},
}
}
By
(
"submitting the pod to kubernetes"
)
By
(
"submitting the pod to kubernetes"
)
defer
func
()
{
By
(
"deleting the pod"
)
podClient
.
Delete
(
pod
.
Name
,
api
.
NewDeleteOptions
(
0
))
}()
podClient
.
CreateSync
(
pod
)
podClient
.
CreateSync
(
pod
)
req
:=
f
.
Client
.
Get
()
.
req
:=
f
.
Client
.
Get
()
.
...
@@ -566,7 +562,7 @@ var _ = framework.KubeDescribe("Pods", func() {
...
@@ -566,7 +562,7 @@ var _ = framework.KubeDescribe("Pods", func() {
}
}
framework
.
Failf
(
"Failed to read completely from websocket %s: %v"
,
url
.
String
(),
err
)
framework
.
Failf
(
"Failed to read completely from websocket %s: %v"
,
url
.
String
(),
err
)
}
}
if
len
(
msg
)
==
0
{
if
len
(
strings
.
TrimSpace
(
string
(
msg
))
)
==
0
{
continue
continue
}
}
buf
.
Write
(
msg
)
buf
.
Write
(
msg
)
...
...
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