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
34e9478c
Commit
34e9478c
authored
Oct 18, 2015
by
Clayton Coleman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use pod logs subresource from e2e
Means that e2e code doesn't need to access the proxy
parent
56093b77
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
util.go
test/e2e/util.go
+5
-4
No files found.
test/e2e/util.go
View file @
34e9478c
...
@@ -1144,10 +1144,11 @@ func testContainerOutputMatcher(scenarioName string,
...
@@ -1144,10 +1144,11 @@ func testContainerOutputMatcher(scenarioName string,
for
time
.
Now
()
.
Sub
(
start
)
<
(
60
*
time
.
Second
)
{
for
time
.
Now
()
.
Sub
(
start
)
<
(
60
*
time
.
Second
)
{
err
=
nil
err
=
nil
logs
,
err
=
c
.
Get
()
.
logs
,
err
=
c
.
Get
()
.
Prefix
(
"proxy"
)
.
Resource
(
"pods"
)
.
Resource
(
"nodes"
)
.
Namespace
(
ns
)
.
Name
(
podStatus
.
Spec
.
NodeName
)
.
Name
(
pod
.
Name
)
.
Suffix
(
"containerLogs"
,
ns
,
podStatus
.
Name
,
containerName
)
.
SubResource
(
"log"
)
.
Param
(
"container"
,
containerName
)
.
Do
()
.
Do
()
.
Raw
()
Raw
()
if
err
==
nil
&&
strings
.
Contains
(
string
(
logs
),
"Internal Error"
)
{
if
err
==
nil
&&
strings
.
Contains
(
string
(
logs
),
"Internal Error"
)
{
...
...
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