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
b2600a65
Commit
b2600a65
authored
Feb 03, 2016
by
Saad Ali
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #20421 from thockin/e2e-debris
Remove e2e global 'timeout'
parents
10f9dd3b
5ff5890e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
cadvisor.go
test/e2e/cadvisor.go
+0
-1
nodeoutofdisk.go
test/e2e/nodeoutofdisk.go
+1
-1
No files found.
test/e2e/cadvisor.go
View file @
b2600a65
...
@@ -27,7 +27,6 @@ import (
...
@@ -27,7 +27,6 @@ import (
)
)
const
(
const
(
timeout
=
1
*
time
.
Minute
maxRetries
=
6
maxRetries
=
6
sleepDuration
=
10
*
time
.
Second
sleepDuration
=
10
*
time
.
Second
)
)
...
...
test/e2e/nodeoutofdisk.go
View file @
b2600a65
...
@@ -218,7 +218,7 @@ func availCpu(c *client.Client, node *api.Node) (int64, error) {
...
@@ -218,7 +218,7 @@ func availCpu(c *client.Client, node *api.Node) (int64, error) {
func
availSize
(
c
*
client
.
Client
,
node
*
api
.
Node
)
(
uint64
,
error
)
{
func
availSize
(
c
*
client
.
Client
,
node
*
api
.
Node
)
(
uint64
,
error
)
{
statsResource
:=
fmt
.
Sprintf
(
"api/v1/proxy/nodes/%s/stats/"
,
node
.
Name
)
statsResource
:=
fmt
.
Sprintf
(
"api/v1/proxy/nodes/%s/stats/"
,
node
.
Name
)
Logf
(
"Querying stats for node %s using url %s"
,
node
.
Name
,
statsResource
)
Logf
(
"Querying stats for node %s using url %s"
,
node
.
Name
,
statsResource
)
res
,
err
:=
c
.
Get
()
.
AbsPath
(
statsResource
)
.
Timeout
(
time
out
)
.
Do
()
.
Raw
()
res
,
err
:=
c
.
Get
()
.
AbsPath
(
statsResource
)
.
Timeout
(
time
.
Minute
)
.
Do
()
.
Raw
()
if
err
!=
nil
{
if
err
!=
nil
{
return
0
,
fmt
.
Errorf
(
"error querying cAdvisor API: %v"
,
err
)
return
0
,
fmt
.
Errorf
(
"error querying cAdvisor API: %v"
,
err
)
}
}
...
...
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