Skip to content

Commit 6bdc4b2

Browse files
committed
Consolidate test names
It should start with lowercase, and should not include the redundant `It`.
1 parent 0e7808b commit 6bdc4b2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/e2e/suites/e2e/e2e_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ var _ = Describe("e2e tests [PR-Blocking]", func() {
8181
})
8282

8383
Describe("Workload cluster (default)", func() {
84-
It("It should be creatable and deletable", func() {
84+
It("should be creatable and deletable", func() {
8585
shared.Logf("Creating a cluster")
8686
clusterName := fmt.Sprintf("cluster-%s", namespace.Name)
8787
configCluster := defaultConfigCluster(clusterName, namespace.Name)
@@ -247,7 +247,7 @@ var _ = Describe("e2e tests [PR-Blocking]", func() {
247247
})
248248

249249
Describe("Workload cluster (without lb)", func() {
250-
It("Should create port(s) with custom options", func() {
250+
It("should create port(s) with custom options", func() {
251251
shared.Logf("Creating a cluster")
252252
clusterName := fmt.Sprintf("cluster-%s", namespace.Name)
253253
configCluster := defaultConfigCluster(clusterName, namespace.Name)
@@ -466,7 +466,7 @@ var _ = Describe("e2e tests [PR-Blocking]", func() {
466466
})
467467

468468
Describe("MachineDeployment misconfigurations", func() {
469-
It("Should fail to create MachineDeployment with invalid subnet or invalid availability zone", func() {
469+
It("should fail to create MachineDeployment with invalid subnet or invalid availability zone", func() {
470470
shared.Logf("Creating a cluster")
471471
clusterName := fmt.Sprintf("cluster-%s", namespace.Name)
472472
configCluster := defaultConfigCluster(clusterName, namespace.Name)
@@ -534,7 +534,7 @@ var _ = Describe("e2e tests [PR-Blocking]", func() {
534534
Expect(err).NotTo(HaveOccurred())
535535
})
536536

537-
It("It should be creatable and deletable", func() {
537+
It("should be creatable and deletable", func() {
538538
workerMachines := framework.GetMachinesByMachineDeployments(ctx, framework.GetMachinesByMachineDeploymentsInput{
539539
Lister: e2eCtx.Environment.BootstrapClusterProxy.GetClient(),
540540
ClusterName: clusterName,

0 commit comments

Comments
 (0)