From f0bc04f1698cf5cc7224e2663a00b248ccbc1800 Mon Sep 17 00:00:00 2001 From: Jan Safranek Date: Wed, 3 Nov 2021 14:26:04 +0100 Subject: [PATCH] Fix ephemeral test description It looks like it tests two pods sharing the same volume, but the goal is actually the opposite - two pods with the same inline volume definition should get separate volumes. --- test/e2e/storage/testsuites/ephemeral.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/e2e/storage/testsuites/ephemeral.go b/test/e2e/storage/testsuites/ephemeral.go index 3598024dfff..95547fa844a 100644 --- a/test/e2e/storage/testsuites/ephemeral.go +++ b/test/e2e/storage/testsuites/ephemeral.go @@ -208,7 +208,7 @@ func (p *ephemeralTestSuite) DefineTests(driver storageframework.TestDriver, pat l.testCase.TestEphemeral() }) - ginkgo.It("should support two pods which share the same volume", func() { + ginkgo.It("should support two pods which have the same volume definition", func() { init() defer cleanup() @@ -234,7 +234,7 @@ func (p *ephemeralTestSuite) DefineTests(driver storageframework.TestDriver, pat // data written in one pod is really not // visible in the other. if pattern.VolMode != v1.PersistentVolumeBlock && !readOnly && !shared { - ginkgo.By("writing data in one pod and checking for it in the second") + ginkgo.By("writing data in one pod and checking the second does not see it (it should get its own volume)") e2evolume.VerifyExecInPodSucceed(f, pod, "touch /mnt/test-0/hello-world") e2evolume.VerifyExecInPodSucceed(f, pod2, "[ ! -f /mnt/test-0/hello-world ]") }