Make FSGroup e2es [Feature:FSGroup], not [Skipped]

This commit is contained in:
Isaac Hollander McCreery 2016-01-26 15:49:43 -08:00
parent ca30f38697
commit 3022cbef89
2 changed files with 6 additions and 7 deletions

View File

@ -41,7 +41,7 @@ var _ = Describe("Downward API volume", func() {
}, f.Namespace.Name)
})
It("should provide podname as non-root with fsgroup [Conformance] [Skipped]", func() {
It("should provide podname as non-root with fsgroup [Feature:FSGroup]", func() {
podName := "metadata-volume-" + string(util.NewUUID())
uid := int64(1001)
gid := int64(1234)

View File

@ -37,21 +37,20 @@ var _ = Describe("EmptyDir volumes", func() {
f := NewFramework("emptydir")
// TODO: Remove [Skipped] when security context is enabled everywhere
Context("when FSGroup is specified [Skipped]", func() {
It("new files should be created with FSGroup ownership when container is root [Conformance]", func() {
Context("when FSGroup is specified [Feature:FSGroup]", func() {
It("new files should be created with FSGroup ownership when container is root", func() {
doTestSetgidFSGroup(f, testImageRootUid, api.StorageMediumMemory)
})
It("new files should be created with FSGroup ownership when container is non-root [Conformance]", func() {
It("new files should be created with FSGroup ownership when container is non-root", func() {
doTestSetgidFSGroup(f, testImageNonRootUid, api.StorageMediumMemory)
})
It("volume on default medium should have the correct mode using FSGroup [Conformance]", func() {
It("volume on default medium should have the correct mode using FSGroup", func() {
doTestVolumeModeFSGroup(f, testImageRootUid, api.StorageMediumDefault)
})
It("volume on tmpfs should have the correct mode using FSGroup [Conformance]", func() {
It("volume on tmpfs should have the correct mode using FSGroup", func() {
doTestVolumeModeFSGroup(f, testImageRootUid, api.StorageMediumMemory)
})
})