diff --git a/pkg/controller/daemon/daemoncontroller_test.go b/pkg/controller/daemon/daemoncontroller_test.go index 7f714d516b7..7b247a8eb99 100644 --- a/pkg/controller/daemon/daemoncontroller_test.go +++ b/pkg/controller/daemon/daemoncontroller_test.go @@ -263,7 +263,7 @@ func allocatableResources(memory, cpu string) v1.ResourceList { } // DaemonSets should not place onto nodes with insufficient free resource -func TestInsufficentCapacityNodeDaemonDoesNotLaunchPod(t *testing.T) { +func TestInsufficientCapacityNodeDaemonDoesNotLaunchPod(t *testing.T) { podSpec := resourcePodSpec("too-much-mem", "75M", "75m") manager, podControl, _ := newTestController() node := newNode("too-much-mem", nil) @@ -295,7 +295,7 @@ func TestInsufficentCapacityNodeDaemonDoesNotUnscheduleRunningPod(t *testing.T) syncAndValidateDaemonSets(t, manager, ds, podControl, 0, 0) } -func TestSufficentCapacityWithTerminatedPodsDaemonLaunchesPod(t *testing.T) { +func TestSufficientCapacityWithTerminatedPodsDaemonLaunchesPod(t *testing.T) { podSpec := resourcePodSpec("too-much-mem", "75M", "75m") manager, podControl, _ := newTestController() node := newNode("too-much-mem", nil) @@ -312,7 +312,7 @@ func TestSufficentCapacityWithTerminatedPodsDaemonLaunchesPod(t *testing.T) { } // DaemonSets should place onto nodes with sufficient free resource -func TestSufficentCapacityNodeDaemonLaunchesPod(t *testing.T) { +func TestSufficientCapacityNodeDaemonLaunchesPod(t *testing.T) { podSpec := resourcePodSpec("not-too-much-mem", "75M", "75m") manager, podControl, _ := newTestController() node := newNode("not-too-much-mem", nil)