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
7c05607a
Commit
7c05607a
authored
Feb 10, 2016
by
Robert Bailey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert #19469 so re-enable the metrics grabbing test on GKE.
parent
62e57434
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
9 deletions
+6
-9
metrics_grabber_test.go
test/e2e/metrics_grabber_test.go
+6
-9
No files found.
test/e2e/metrics_grabber_test.go
View file @
7c05607a
...
@@ -100,15 +100,12 @@ var _ = Describe("MetricsGrabber", func() {
...
@@ -100,15 +100,12 @@ var _ = Describe("MetricsGrabber", func() {
})
})
It
(
"should grab all metrics from a Kubelet."
,
func
()
{
It
(
"should grab all metrics from a Kubelet."
,
func
()
{
// We run this test only on GCE, as for some reason it flakes in GKE #19468
By
(
"Proxying to Node through the API server"
)
if
providerIs
(
"gce"
)
{
nodes
:=
ListSchedulableNodesOrDie
(
c
)
By
(
"Proxying to Node through the API server"
)
Expect
(
nodes
.
Items
)
.
NotTo
(
BeEmpty
())
nodes
:=
ListSchedulableNodesOrDie
(
c
)
response
,
err
:=
grabber
.
GrabFromKubelet
(
nodes
.
Items
[
0
]
.
Name
)
Expect
(
nodes
.
Items
)
.
NotTo
(
BeEmpty
())
expectNoError
(
err
)
response
,
err
:=
grabber
.
GrabFromKubelet
(
nodes
.
Items
[
0
]
.
Name
)
checkNecessaryMetrics
(
metrics
.
Metrics
(
response
),
metrics
.
NecessaryKubeletMetrics
)
expectNoError
(
err
)
checkNecessaryMetrics
(
metrics
.
Metrics
(
response
),
metrics
.
NecessaryKubeletMetrics
)
}
})
})
It
(
"should grab all metrics from a Scheduler."
,
func
()
{
It
(
"should grab all metrics from a Scheduler."
,
func
()
{
...
...
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