From 1cc64b890032a723573922935c9e5244cfafe1b0 Mon Sep 17 00:00:00 2001 From: "yarntime@163.com" Date: Tue, 29 Nov 2016 17:54:09 +0800 Subject: [PATCH] fix typo --- pkg/controller/daemon/daemoncontroller_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/controller/daemon/daemoncontroller_test.go b/pkg/controller/daemon/daemoncontroller_test.go index b0f4e7f472..1c4fbb544a 100644 --- a/pkg/controller/daemon/daemoncontroller_test.go +++ b/pkg/controller/daemon/daemoncontroller_test.go @@ -252,7 +252,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) @@ -267,7 +267,7 @@ func TestInsufficentCapacityNodeDaemonDoesNotLaunchPod(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) @@ -284,7 +284,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)