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
4b0c0bd9
Commit
4b0c0bd9
authored
Jul 12, 2016
by
Maciej Szulik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Shorten initial pod start time to 30s in e2e, since 4566 is closed
parent
18df4510
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
util.go
test/e2e/framework/util.go
+1
-2
pods.go
test/e2e/pods.go
+1
-1
No files found.
test/e2e/framework/util.go
View file @
4b0c0bd9
...
...
@@ -86,8 +86,7 @@ const (
// How long to wait for the pod to be listable
PodListTimeout
=
time
.
Minute
// Initial pod start can be delayed O(minutes) by slow docker pulls
// TODO: Make this 30 seconds once #4566 is resolved.
PodStartTimeout
=
5
*
time
.
Minute
PodStartTimeout
=
30
*
time
.
Second
// How long to wait for the pod to no longer be running
podNoLongerRunningTimeout
=
30
*
time
.
Second
...
...
test/e2e/pods.go
View file @
4b0c0bd9
...
...
@@ -815,7 +815,7 @@ var _ = framework.KubeDescribe("Pods", func() {
wr
:=
watch
.
NewRecorder
(
w
)
event
,
err
:=
watch
.
Until
(
framework
.
Pod
Start
Timeout
,
wr
,
framework
.
Pod
ReadyBefore
Timeout
,
wr
,
// check for the first container to fail at least once
func
(
evt
watch
.
Event
)
(
bool
,
error
)
{
switch
t
:=
evt
.
Object
.
(
type
)
{
...
...
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