From e254126f02a9125bbf1587847e211c92a6e052c7 Mon Sep 17 00:00:00 2001 From: Maria Alejandra Kurylec Date: Wed, 1 Aug 2018 16:34:52 -0300 Subject: [PATCH] a) promoting "Atomic Writer volume" testcases --- test/conformance/testdata/conformance.txt | 5 +++++ test/e2e/storage/subpath.go | 10 +++++----- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/test/conformance/testdata/conformance.txt b/test/conformance/testdata/conformance.txt index 63669ecec5..5716e9826a 100755 --- a/test/conformance/testdata/conformance.txt +++ b/test/conformance/testdata/conformance.txt @@ -167,6 +167,11 @@ test/e2e/node/pre_stop.go: "should call prestop when killing a pod" test/e2e/scheduling/predicates.go: "validates resource limits of pods that are allowed to run" test/e2e/scheduling/predicates.go: "validates that NodeSelector is respected if not matching" test/e2e/scheduling/predicates.go: "validates that NodeSelector is respected if matching" +test/e2e/storage/subpath.go: "should support subpaths with secret pod" +test/e2e/storage/subpath.go: "should support subpaths with configmap pod" +test/e2e/storage/subpath.go: "should support subpaths with configmap pod with mountPath of existing file" +test/e2e/storage/subpath.go: "should support subpaths with downward pod" +test/e2e/storage/subpath.go: "should support subpaths with projected pod" test/e2e_node/kubelet_test.go: "it should print the output to logs" test/e2e_node/kubelet_test.go: "it should not write to root filesystem" test/e2e_node/lifecycle_hook_test.go: "should execute poststart exec hook properly" diff --git a/test/e2e/storage/subpath.go b/test/e2e/storage/subpath.go index 1d5f4bfca0..69e6f5df9f 100644 --- a/test/e2e/storage/subpath.go +++ b/test/e2e/storage/subpath.go @@ -103,24 +103,24 @@ var _ = utils.SIGDescribe("Subpath", func() { }) - It("should support subpaths with secret pod", func() { + framework.ConformanceIt("should support subpaths with secret pod", func() { pod := testPodSubpath(f, "secret-key", "secret", &v1.VolumeSource{Secret: &v1.SecretVolumeSource{SecretName: "my-secret"}}, privilegedSecurityContext) testBasicSubpath(f, "secret-value", pod) }) - It("should support subpaths with configmap pod", func() { + framework.ConformanceIt("should support subpaths with configmap pod", func() { pod := testPodSubpath(f, "configmap-key", "configmap", &v1.VolumeSource{ConfigMap: &v1.ConfigMapVolumeSource{LocalObjectReference: v1.LocalObjectReference{Name: "my-configmap"}}}, privilegedSecurityContext) testBasicSubpath(f, "configmap-value", pod) }) - It("should support subpaths with configmap pod with mountPath of existing file", func() { + framework.ConformanceIt("should support subpaths with configmap pod with mountPath of existing file", func() { pod := testPodSubpath(f, "configmap-key", "configmap", &v1.VolumeSource{ConfigMap: &v1.ConfigMapVolumeSource{LocalObjectReference: v1.LocalObjectReference{Name: "my-configmap"}}}, privilegedSecurityContext) file := "/etc/resolv.conf" pod.Spec.Containers[0].VolumeMounts[0].MountPath = file testBasicSubpathFile(f, "configmap-value", pod, file) }) - It("should support subpaths with downward pod", func() { + framework.ConformanceIt("should support subpaths with downward pod", func() { pod := testPodSubpath(f, "downward/podname", "downwardAPI", &v1.VolumeSource{ DownwardAPI: &v1.DownwardAPIVolumeSource{ Items: []v1.DownwardAPIVolumeFile{{Path: "downward/podname", FieldRef: &v1.ObjectFieldSelector{APIVersion: "v1", FieldPath: "metadata.name"}}}, @@ -129,7 +129,7 @@ var _ = utils.SIGDescribe("Subpath", func() { testBasicSubpath(f, pod.Name, pod) }) - It("should support subpaths with projected pod", func() { + framework.ConformanceIt("should support subpaths with projected pod", func() { pod := testPodSubpath(f, "projected/configmap-key", "projected", &v1.VolumeSource{ Projected: &v1.ProjectedVolumeSource{ Sources: []v1.VolumeProjection{