Initial integration test setup for DaemonSet controller

This commit is contained in:
Yinan Li
2017-09-08 11:44:45 -07:00
parent a9e244d81f
commit 4dc42d078b
7 changed files with 488 additions and 10 deletions

View File

@@ -492,7 +492,7 @@ func TestOneNodeDaemonLaunchesPod(t *testing.T) {
}
// DaemonSets should place onto NotReady nodes
func TestNotReadNodeDaemonDoesNotLaunchPod(t *testing.T) {
func TestNotReadyNodeDaemonDoesLaunchPod(t *testing.T) {
for _, strategy := range updateStrategies() {
ds := newDaemonSet("foo")
ds.Spec.UpdateStrategy = *strategy