diff --git a/pkg/scheduler/algorithm/predicates/predicates_test.go b/pkg/scheduler/algorithm/predicates/predicates_test.go index 4fe557fa14..4e7720413f 100644 --- a/pkg/scheduler/algorithm/predicates/predicates_test.go +++ b/pkg/scheduler/algorithm/predicates/predicates_test.go @@ -3444,7 +3444,7 @@ func TestInterPodAffinityWithMultipleNodes(t *testing.T) { "nodeA": true, "nodeB": true, }, - name: "Test incoming pod's anti-affinity: even if lableSelector matches, we still check if topologyKey matches", + name: "Test incoming pod's anti-affinity: even if labelSelector matches, we still check if topologyKey matches", }, { pod: &v1.Pod{ diff --git a/pkg/scheduler/algorithm/priorities/util/topologies_test.go b/pkg/scheduler/algorithm/priorities/util/topologies_test.go index 6aee723e46..b72296afdd 100644 --- a/pkg/scheduler/algorithm/priorities/util/topologies_test.go +++ b/pkg/scheduler/algorithm/priorities/util/topologies_test.go @@ -220,7 +220,7 @@ func TestNodesHaveSameTopologyKey(t *testing.T) { topologyKey: "", }, { - name: "nodeA lable nil vs. nodeB{'a':''} by key('a')", + name: "nodeA label nil vs. nodeB{'a':''} by key('a')", nodeA: &v1.Node{ ObjectMeta: metav1.ObjectMeta{}, }, diff --git a/test/e2e/storage/vsphere/pvc_label_selector.go b/test/e2e/storage/vsphere/pvc_label_selector.go index 3de1e2bbcf..14445d6f37 100644 --- a/test/e2e/storage/vsphere/pvc_label_selector.go +++ b/test/e2e/storage/vsphere/pvc_label_selector.go @@ -34,7 +34,7 @@ import ( Test Steps ---------- 1. Create VMDK. - 2. Create pv with lable volume-type:ssd, volume path set to vmdk created in previous step, and PersistentVolumeReclaimPolicy is set to Delete. + 2. Create pv with label volume-type:ssd, volume path set to vmdk created in previous step, and PersistentVolumeReclaimPolicy is set to Delete. 3. Create PVC (pvc_vvol) with label selector to match with volume-type:vvol 4. Create PVC (pvc_ssd) with label selector to match with volume-type:ssd 5. Wait and verify pvc_ssd is bound with PV. @@ -112,7 +112,7 @@ func testSetupVSpherePVClabelselector(c clientset.Interface, nodeInfo *NodeInfo, return } - By("creating the pv with lable volume-type:ssd") + By("creating the pv with label volume-type:ssd") pv_ssd = getVSpherePersistentVolumeSpec(volumePath, v1.PersistentVolumeReclaimDelete, ssdlabels) pv_ssd, err = c.CoreV1().PersistentVolumes().Create(pv_ssd) if err != nil {