Add NodeSelector to the replication controller tests.

This commit is contained in:
Brendan Burns 2015-01-27 10:56:54 -08:00
parent c3da4f0b19
commit 92d65b7c65

View File

@ -83,6 +83,9 @@ func newReplicationController(replicas int) api.ReplicationController {
Image: "foo/bar",
},
},
NodeSelector: map[string]string{
"baz": "blah",
},
},
},
},
@ -209,6 +212,9 @@ func TestCreateReplica(t *testing.T) {
Image: "foo/bar",
},
},
NodeSelector: map[string]string{
"foo": "bar",
},
},
},
},