Skip to content

Commit ee44c5c

Browse files
authored
Merge pull request #1271 from hj-johannes-lee/fix-typo-from-e2e
e2e: fix typos and minor grammar issues
2 parents 10a26b8 + 838bc39 commit ee44c5c

File tree

8 files changed

+13
-13
lines changed

8 files changed

+13
-13
lines changed

test/e2e/dlb/dlb.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ func describe() {
6868
}
6969

7070
for _, resource := range []v1.ResourceName{"dlb.intel.com/pf", "dlb.intel.com/vf"} {
71-
ginkgo.By("checking the " + resource.String() + " resource is allocatable")
71+
ginkgo.By("checking if the " + resource.String() + " resource is allocatable")
7272
if err = utils.WaitForNodesWithResource(f.ClientSet, resource, 30*time.Second); err != nil {
7373
framework.Failf("unable to wait for nodes to have positive allocatable resource %s: %v", resource, err)
7474
}

test/e2e/dsa/dsa.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ func describe() {
8080
framework.Failf("container filesystem info checks failed: %v", err)
8181
}
8282

83-
ginkgo.By("checking the resource is allocatable")
83+
ginkgo.By("checking if the resource is allocatable")
8484
if err = utils.WaitForNodesWithResource(f.ClientSet, "dsa.intel.com/wq-user-dedicated", 300*time.Second); err != nil {
8585
framework.Failf("unable to wait for nodes to have positive allocatable resource: %v", err)
8686
}

test/e2e/gpu/gpu.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ func describe() {
7070
framework.Failf("container filesystem info checks failed: %v", err)
7171
}
7272

73-
ginkgo.By("checking the resource is allocatable")
73+
ginkgo.By("checking if the resource is allocatable")
7474
if err = utils.WaitForNodesWithResource(f.ClientSet, "gpu.intel.com/i915", 30*time.Second); err != nil {
7575
framework.Failf("unable to wait for nodes to have positive allocatable resource: %v", err)
7676
}
@@ -97,7 +97,7 @@ func describe() {
9797
pod, err := f.ClientSet.CoreV1().Pods(f.Namespace.Name).Create(context.TODO(), podSpec, metav1.CreateOptions{})
9898
framework.ExpectNoError(err, "pod Create API error")
9999

100-
ginkgo.By("waiting the pod to finnish successfully")
100+
ginkgo.By("waiting the pod to finish successfully")
101101
e2epod.NewPodClient(f).WaitForSuccess(pod.ObjectMeta.Name, 60*time.Second)
102102

103103
ginkgo.By("checking log output")

test/e2e/iaa/iaa.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ func describe() {
8080
framework.Failf("container filesystem info checks failed: %v", err)
8181
}
8282

83-
ginkgo.By("checking the resource is allocatable")
83+
ginkgo.By("checking if the resource is allocatable")
8484
if err = utils.WaitForNodesWithResource(f.ClientSet, "iaa.intel.com/wq-user-dedicated", 300*time.Second); err != nil {
8585
framework.Failf("unable to wait for nodes to have positive allocatable resource: %v", err)
8686
}

test/e2e/qat/qatplugin_dpdk.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,21 +75,21 @@ func describeQatDpdkPlugin() {
7575
framework.Failf("container filesystem info checks failed: %v", err)
7676
}
7777

78-
ginkgo.By("checking the resource is allocatable")
78+
ginkgo.By("checking if the resource is allocatable")
7979
if err := utils.WaitForNodesWithResource(f.ClientSet, "qat.intel.com/generic", 30*time.Second); err != nil {
8080
framework.Failf("unable to wait for nodes to have positive allocatable resource: %v", err)
8181
}
8282

8383
ginkgo.By("submitting a crypto pod requesting QAT resources")
8484
e2ekubectl.RunKubectlOrDie(f.Namespace.Name, "apply", "-k", filepath.Dir(cryptoTestYamlPath))
8585

86-
ginkgo.By("waiting the crypto pod to finnish successfully")
86+
ginkgo.By("waiting the crypto pod to finish successfully")
8787
e2epod.NewPodClient(f).WaitForSuccess("qat-dpdk-test-crypto-perf-tc1", 60*time.Second)
8888

8989
ginkgo.By("submitting a compress pod requesting QAT resources")
9090
e2ekubectl.RunKubectlOrDie(f.Namespace.Name, "apply", "-k", filepath.Dir(compressTestYamlPath))
9191

92-
ginkgo.By("waiting the compress pod to finnish successfully")
92+
ginkgo.By("waiting the compress pod to finish successfully")
9393
e2epod.NewPodClient(f).WaitForSuccess("qat-dpdk-test-compress-perf-tc1", 60*time.Second)
9494
})
9595
}

test/e2e/qat/qatplugin_kernel.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ func describeQatKernelPlugin() {
6767
framework.Failf("container filesystem info checks failed: %v", err)
6868
}
6969

70-
ginkgo.By("checking the resource is allocatable")
70+
ginkgo.By("checking if the resource is allocatable")
7171
if err = utils.WaitForNodesWithResource(f.ClientSet, "qat.intel.com/cy1_dc0", 30*time.Second); err != nil {
7272
framework.Failf("unable to wait for nodes to have positive allocatable resource: %v", err)
7373
}
@@ -95,7 +95,7 @@ func describeQatKernelPlugin() {
9595
podSpec, metav1.CreateOptions{})
9696
framework.ExpectNoError(err, "pod Create API error")
9797

98-
ginkgo.By("waiting the pod to finnish successfully")
98+
ginkgo.By("waiting the pod to finish successfully")
9999
e2epod.NewPodClient(f).WaitForFinish(pod.ObjectMeta.Name, 60*time.Second)
100100
})
101101
}

test/e2e/qat/qatplugin_qatgen4_crypto.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ func describeQatPluginCy() {
6969
framework.Failf("container filesystem info checks failed: %v", err)
7070
}
7171

72-
ginkgo.By("checking the resource is allocatable")
72+
ginkgo.By("checking if the resource is allocatable")
7373
if err := utils.WaitForNodesWithResource(f.ClientSet, "qat.intel.com/cy", 30*time.Second); err != nil {
7474
framework.Failf("unable to wait for nodes to have positive allocatable resource: %v", err)
7575
}

test/e2e/sgx/sgx.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ func describe() {
7777
framework.Failf("container filesystem info checks failed: %v", err)
7878
}
7979

80-
ginkgo.By("checking the resource is allocatable")
80+
ginkgo.By("checking if the resource is allocatable")
8181
if err = utils.WaitForNodesWithResource(f.ClientSet, "sgx.intel.com/epc", 150*time.Second); err != nil {
8282
framework.Failf("unable to wait for nodes to have positive allocatable epc resource: %v", err)
8383
}
@@ -110,7 +110,7 @@ func describe() {
110110
pod, err := f.ClientSet.CoreV1().Pods(f.Namespace.Name).Create(context.TODO(), podSpec, metav1.CreateOptions{})
111111
framework.ExpectNoError(err, "pod Create API error")
112112

113-
ginkgo.By("waiting the pod to finnish successfully")
113+
ginkgo.By("waiting the pod to finish successfully")
114114
e2epod.NewPodClient(f).WaitForSuccess(pod.ObjectMeta.Name, 60*time.Second)
115115
})
116116
}

0 commit comments

Comments
 (0)