Merge pull request #75471 from pontiyaraja/sharedVolCNF

promote shared volumes between the container in a pod e2e to conformance
k3s-v1.15.3
Kubernetes Prow Robot 2019-04-12 15:56:04 -07:00 committed by GitHub
commit 2d5f5a9da5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 1 deletions

View File

@ -91,6 +91,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"