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
40983474
Unverified
Commit
40983474
authored
Apr 23, 2019
by
Kubernetes Prow Robot
Committed by
GitHub
Apr 23, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #76488 from atoato88/fix-golint-e2e-framework-util-go-part2
Fix golint failures of e2e/framework/util.go - part2
parents
56d79129
85f21c16
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
2 deletions
+2
-2
rc.go
test/e2e/apps/rc.go
+1
-1
replica_set.go
test/e2e/apps/replica_set.go
+1
-1
util.go
test/e2e/framework/util.go
+0
-0
No files found.
test/e2e/apps/rc.go
View file @
40983474
...
...
@@ -164,7 +164,7 @@ func TestReplicationControllerServeImageOrFail(f *framework.Framework, test stri
retryTimeout
:=
2
*
time
.
Minute
retryInterval
:=
5
*
time
.
Second
label
:=
labels
.
SelectorFromSet
(
labels
.
Set
(
map
[
string
]
string
{
"name"
:
name
}))
err
=
wait
.
Poll
(
retryInterval
,
retryTimeout
,
framework
.
PodProxyResponseChecker
(
f
.
ClientSet
,
f
.
Namespace
.
Name
,
label
,
name
,
true
,
pods
)
.
CheckAllResponses
)
err
=
wait
.
Poll
(
retryInterval
,
retryTimeout
,
framework
.
New
PodProxyResponseChecker
(
f
.
ClientSet
,
f
.
Namespace
.
Name
,
label
,
name
,
true
,
pods
)
.
CheckAllResponses
)
if
err
!=
nil
{
framework
.
Failf
(
"Did not get expected responses within the timeout period of %.2f seconds."
,
retryTimeout
.
Seconds
())
}
...
...
test/e2e/apps/replica_set.go
View file @
40983474
...
...
@@ -166,7 +166,7 @@ func testReplicaSetServeImageOrFail(f *framework.Framework, test string, image s
retryTimeout
:=
2
*
time
.
Minute
retryInterval
:=
5
*
time
.
Second
label
:=
labels
.
SelectorFromSet
(
labels
.
Set
(
map
[
string
]
string
{
"name"
:
name
}))
err
=
wait
.
Poll
(
retryInterval
,
retryTimeout
,
framework
.
PodProxyResponseChecker
(
f
.
ClientSet
,
f
.
Namespace
.
Name
,
label
,
name
,
true
,
pods
)
.
CheckAllResponses
)
err
=
wait
.
Poll
(
retryInterval
,
retryTimeout
,
framework
.
New
PodProxyResponseChecker
(
f
.
ClientSet
,
f
.
Namespace
.
Name
,
label
,
name
,
true
,
pods
)
.
CheckAllResponses
)
if
err
!=
nil
{
framework
.
Failf
(
"Did not get expected responses within the timeout period of %.2f seconds."
,
retryTimeout
.
Seconds
())
}
...
...
test/e2e/framework/util.go
View file @
40983474
This diff is collapsed.
Click to expand it.
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