Commit e1640989 authored by Filip Grzadkowski's avatar Filip Grzadkowski

Merge pull request #19009 from fgrzadkowski/fix_e2e

Fix e2e tests broken in #17865
parents 41aa6cea 4ee0e7e4
...@@ -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)
......
...@@ -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}
......
...@@ -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}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment