From e2a4cd1ccea666b814307f0233e0fadbb0a07ba4 Mon Sep 17 00:00:00 2001 From: Mayank Gaikwad <8110509+mgdevstack@users.noreply.github.com> Date: Tue, 7 Aug 2018 09:18:31 +0530 Subject: [PATCH] promoting configmap binarydata support NodeConformance test to conformance. --- test/conformance/testdata/conformance.txt | 1 + test/e2e/common/configmap_volume.go | 7 ++++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/test/conformance/testdata/conformance.txt b/test/conformance/testdata/conformance.txt index 163e45c2a6d..5457f78de07 100755 --- a/test/conformance/testdata/conformance.txt +++ b/test/conformance/testdata/conformance.txt @@ -35,6 +35,7 @@ test/e2e/common/configmap_volume.go: "should be consumable from pods in volume w test/e2e/common/configmap_volume.go: "should be consumable from pods in volume with mappings and Item mode set" test/e2e/common/configmap_volume.go: "should be consumable from pods in volume with mappings as non-root" test/e2e/common/configmap_volume.go: "updates should be reflected in volume" +test/e2e/common/configmap_volume.go: "binary data should be reflected in volume" test/e2e/common/configmap_volume.go: "optional updates should be reflected in volume" test/e2e/common/configmap_volume.go: "should be consumable in multiple volumes in the same pod" test/e2e/common/container_probe.go: "with readiness probe should not be ready before initial delay and never restart" diff --git a/test/e2e/common/configmap_volume.go b/test/e2e/common/configmap_volume.go index fe9ecc3c767..db199cc8ee3 100644 --- a/test/e2e/common/configmap_volume.go +++ b/test/e2e/common/configmap_volume.go @@ -184,7 +184,12 @@ var _ = Describe("[sig-storage] ConfigMap", func() { Eventually(pollLogs, podLogTimeout, framework.Poll).Should(ContainSubstring("value-2")) }) - It("binary data should be reflected in volume [NodeConformance]", func() { + /* + Release: v1.12 + Testname: ConfigMap Volume, text data, binary data + Description: The ConfigMap that is created with text data and binary data MUST be accessible to read from the newly created Pod using the volume mount that is mapped to custom path in the Pod. ConfigMap's text data and binary data MUST be verified by reading the content from the mounted files in the Pod. + */ + framework.ConformanceIt("binary data should be reflected in volume [NodeConformance]", func() { podLogTimeout := framework.GetPodSecretUpdateTimeout(f.ClientSet) containerTimeoutArg := fmt.Sprintf("--retry_time=%v", int(podLogTimeout.Seconds()))