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
e1640989
Commit
e1640989
authored
Dec 22, 2015
by
Filip Grzadkowski
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #19009 from fgrzadkowski/fix_e2e
Fix e2e tests broken in #17865
parents
41aa6cea
4ee0e7e4
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
latency.go
test/e2e/latency.go
+1
-1
nodeoutofdisk.go
test/e2e/nodeoutofdisk.go
+1
-1
scheduler_predicates.go
test/e2e/scheduler_predicates.go
+1
-1
No files found.
test/e2e/latency.go
View file @
e1640989
...
@@ -192,7 +192,7 @@ func runLatencyTest(nodeCount int, c *client.Client, ns string) {
...
@@ -192,7 +192,7 @@ func runLatencyTest(nodeCount int, c *client.Client, ns string) {
selector
:=
fields
.
Set
{
selector
:=
fields
.
Set
{
"involvedObject.kind"
:
"Pod"
,
"involvedObject.kind"
:
"Pod"
,
"involvedObject.namespace"
:
ns
,
"involvedObject.namespace"
:
ns
,
"source"
:
"scheduler"
,
"source"
:
api
.
DefaultSchedulerName
,
}
.
AsSelector
()
}
.
AsSelector
()
options
:=
api
.
ListOptions
{
FieldSelector
:
selector
}
options
:=
api
.
ListOptions
{
FieldSelector
:
selector
}
schedEvents
,
err
:=
c
.
Events
(
ns
)
.
List
(
options
)
schedEvents
,
err
:=
c
.
Events
(
ns
)
.
List
(
options
)
...
...
test/e2e/nodeoutofdisk.go
View file @
e1640989
...
@@ -133,7 +133,7 @@ var _ = Describe("NodeOutOfDisk [Serial]", func() {
...
@@ -133,7 +133,7 @@ var _ = Describe("NodeOutOfDisk [Serial]", func() {
"involvedObject.kind"
:
"Pod"
,
"involvedObject.kind"
:
"Pod"
,
"involvedObject.name"
:
pendingPodName
,
"involvedObject.name"
:
pendingPodName
,
"involvedObject.namespace"
:
ns
,
"involvedObject.namespace"
:
ns
,
"source"
:
"scheduler"
,
"source"
:
api
.
DefaultSchedulerName
,
"reason"
:
"FailedScheduling"
,
"reason"
:
"FailedScheduling"
,
}
.
AsSelector
()
}
.
AsSelector
()
options
:=
api
.
ListOptions
{
FieldSelector
:
selector
}
options
:=
api
.
ListOptions
{
FieldSelector
:
selector
}
...
...
test/e2e/scheduler_predicates.go
View file @
e1640989
...
@@ -103,7 +103,7 @@ func verifyResult(c *client.Client, podName string, ns string) {
...
@@ -103,7 +103,7 @@ func verifyResult(c *client.Client, podName string, ns string) {
"involvedObject.kind"
:
"Pod"
,
"involvedObject.kind"
:
"Pod"
,
"involvedObject.name"
:
podName
,
"involvedObject.name"
:
podName
,
"involvedObject.namespace"
:
ns
,
"involvedObject.namespace"
:
ns
,
"source"
:
"scheduler"
,
"source"
:
api
.
DefaultSchedulerName
,
"reason"
:
"FailedScheduling"
,
"reason"
:
"FailedScheduling"
,
}
.
AsSelector
()
}
.
AsSelector
()
options
:=
api
.
ListOptions
{
FieldSelector
:
selector
}
options
:=
api
.
ListOptions
{
FieldSelector
:
selector
}
...
...
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