From b0270ced41cbea4e7db5063f9d91f572a43a3f81 Mon Sep 17 00:00:00 2001 From: Madhu Rajanna Date: Fri, 15 May 2020 14:04:59 +0530 Subject: [PATCH] e2e: reword sentences in e2e as kube is the shortform for kubernetes. its expected to mention full form kubernetes in the e2e tests. Updated few wordings in the e2e. Signed-off-by: Madhu Rajanna --- e2e/rbd.go | 4 ++-- e2e/snapshot.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/e2e/rbd.go b/e2e/rbd.go index d70ade891..3dfce782f 100644 --- a/e2e/rbd.go +++ b/e2e/rbd.go @@ -235,7 +235,7 @@ var _ = Describe("RBD", func() { createRBDStorageClass(f.ClientSet, f, nil, nil) }) - By("create a PVC clone and Bind it to an app", func() { + By("create a PVC clone and bind it to an app", func() { v, err := f.ClientSet.Discovery().ServerVersion() if err != nil { e2elog.Logf("failed to get server version with error %v", err) @@ -274,7 +274,7 @@ var _ = Describe("RBD", func() { Fail(err.Error()) } if len(snapList) != 1 { - e2elog.Logf("backend snapshot not matching kube snap count,snap count = % kube snap count %d", len(snapList), 1) + e2elog.Logf("backend snapshot not matching kubernetes snap count,snap count = % kubernetes snap count %d", len(snapList), 1) Fail("validate backend snapshot failed") } diff --git a/e2e/snapshot.go b/e2e/snapshot.go index b997ab066..3271e94ab 100644 --- a/e2e/snapshot.go +++ b/e2e/snapshot.go @@ -65,7 +65,7 @@ func createSnapshot(snap *snapapi.VolumeSnapshot, t int) error { timeout := time.Duration(t) * time.Minute name := snap.Name start := time.Now() - e2elog.Logf("Waiting up to %v to be in Ready state", snap) + e2elog.Logf("waiting for %v to be in ready state", snap) return wait.PollImmediate(poll, timeout, func() (bool, error) { e2elog.Logf("waiting for snapshot %s (%d seconds elapsed)", snap.Name, int(time.Since(start).Seconds()))