promote shared volumes between the container in a pod e2e to conformance

This commit is contained in:
pontiyaraja 2019-03-19 14:39:40 +05:30
parent 1d441c1f93
commit 584e00aa20
2 changed files with 8 additions and 1 deletions

View File

@ -89,6 +89,7 @@ test/e2e/common/empty_dir.go: "should support (root,0777,default)"
test/e2e/common/empty_dir.go: "should support (non-root,0644,default)"
test/e2e/common/empty_dir.go: "should support (non-root,0666,default)"
test/e2e/common/empty_dir.go: "should support (non-root,0777,default)"
test/e2e/common/empty_dir.go: "pod should support shared volumes between containers"
test/e2e/common/expansion.go: "should allow composing env vars into new env vars"
test/e2e/common/expansion.go: "should allow substituting values in a container's command"
test/e2e/common/expansion.go: "should allow substituting values in a container's args"

View File

@ -207,7 +207,13 @@ var _ = Describe("[sig-storage] EmptyDir volumes", func() {
doTest0777(f, testImageNonRootUid, v1.StorageMediumDefault)
})
It("pod should support shared volumes between containers", func() {
/*
Release : v1.15
Testname: EmptyDir, Shared volumes between containers
Description: A Pod created with an 'emptyDir' Volume, should share volumes between the containeres in the pod. The two busybox image containers shoud share the volumes mounted to the pod.
The main container shoud wait until the sub container drops a file, and main container acess the shared data.
*/
framework.ConformanceIt("pod should support shared volumes between containers", func() {
var (
volumeName = "shared-data"
busyBoxMainVolumeMountPath = "/usr/share/volumeshare"