mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 20:53:33 +00:00
Merge pull request #106120 from jsafrane/fix-test-name
Fix ephemeral test description
This commit is contained in:
commit
a2960dc277
@ -211,7 +211,7 @@ func (p *ephemeralTestSuite) DefineTests(driver storageframework.TestDriver, pat
|
|||||||
l.testCase.TestEphemeral()
|
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()
|
init()
|
||||||
defer cleanup()
|
defer cleanup()
|
||||||
|
|
||||||
@ -237,7 +237,7 @@ func (p *ephemeralTestSuite) DefineTests(driver storageframework.TestDriver, pat
|
|||||||
// data written in one pod is really not
|
// data written in one pod is really not
|
||||||
// visible in the other.
|
// visible in the other.
|
||||||
if pattern.VolMode != v1.PersistentVolumeBlock && !readOnly && !shared {
|
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, pod, "touch /mnt/test-0/hello-world")
|
||||||
e2evolume.VerifyExecInPodSucceed(f, pod2, "[ ! -f /mnt/test-0/hello-world ]")
|
e2evolume.VerifyExecInPodSucceed(f, pod2, "[ ! -f /mnt/test-0/hello-world ]")
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user