Merge pull request #37617 from yarntime/fix_typo_in_daemon

Automatic merge from submit-queue (batch tested with PRs 37617, 40197)

fix typo in daemon

fix typo in daemon.
This commit is contained in:
Kubernetes Submit Queue 2017-02-01 20:46:37 -08:00 committed by GitHub
commit 331a558cc4

View File

@ -263,7 +263,7 @@ func allocatableResources(memory, cpu string) v1.ResourceList {
} }
// DaemonSets should not place onto nodes with insufficient free resource // 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") podSpec := resourcePodSpec("too-much-mem", "75M", "75m")
manager, podControl, _ := newTestController() manager, podControl, _ := newTestController()
node := newNode("too-much-mem", nil) node := newNode("too-much-mem", nil)
@ -295,7 +295,7 @@ func TestInsufficentCapacityNodeDaemonDoesNotUnscheduleRunningPod(t *testing.T)
syncAndValidateDaemonSets(t, manager, ds, podControl, 0, 0) syncAndValidateDaemonSets(t, manager, ds, podControl, 0, 0)
} }
func TestSufficentCapacityWithTerminatedPodsDaemonLaunchesPod(t *testing.T) { func TestSufficientCapacityWithTerminatedPodsDaemonLaunchesPod(t *testing.T) {
podSpec := resourcePodSpec("too-much-mem", "75M", "75m") podSpec := resourcePodSpec("too-much-mem", "75M", "75m")
manager, podControl, _ := newTestController() manager, podControl, _ := newTestController()
node := newNode("too-much-mem", nil) node := newNode("too-much-mem", nil)
@ -312,7 +312,7 @@ func TestSufficentCapacityWithTerminatedPodsDaemonLaunchesPod(t *testing.T) {
} }
// DaemonSets should place onto nodes with sufficient free resource // 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") podSpec := resourcePodSpec("not-too-much-mem", "75M", "75m")
manager, podControl, _ := newTestController() manager, podControl, _ := newTestController()
node := newNode("not-too-much-mem", nil) node := newNode("not-too-much-mem", nil)