Fix e2e tests broken in #17865

This commit is contained in:
Filip Grzadkowski 2015-12-22 13:54:23 +01:00
parent 41aa6cea62
commit 4ee0e7e43c
3 changed files with 3 additions and 3 deletions

View File

@ -192,7 +192,7 @@ func runLatencyTest(nodeCount int, c *client.Client, ns string) {
selector := fields.Set{
"involvedObject.kind": "Pod",
"involvedObject.namespace": ns,
"source": "scheduler",
"source": api.DefaultSchedulerName,
}.AsSelector()
options := api.ListOptions{FieldSelector: selector}
schedEvents, err := c.Events(ns).List(options)

View File

@ -133,7 +133,7 @@ var _ = Describe("NodeOutOfDisk [Serial]", func() {
"involvedObject.kind": "Pod",
"involvedObject.name": pendingPodName,
"involvedObject.namespace": ns,
"source": "scheduler",
"source": api.DefaultSchedulerName,
"reason": "FailedScheduling",
}.AsSelector()
options := api.ListOptions{FieldSelector: selector}

View File

@ -103,7 +103,7 @@ func verifyResult(c *client.Client, podName string, ns string) {
"involvedObject.kind": "Pod",
"involvedObject.name": podName,
"involvedObject.namespace": ns,
"source": "scheduler",
"source": api.DefaultSchedulerName,
"reason": "FailedScheduling",
}.AsSelector()
options := api.ListOptions{FieldSelector: selector}