From 938b23879a2209eb6943f4e8f402124ea070dab3 Mon Sep 17 00:00:00 2001 From: Amruthan Manjula Anandan <157590530+rbiamru@users.noreply.github.com> Date: Mon, 15 Sep 2025 00:01:08 -0400 Subject: [PATCH 1/3] test/e2e/node: add [NodeConformance] label to ConfigMap update test --- test/e2e/common/node/configmap.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e/common/node/configmap.go b/test/e2e/common/node/configmap.go index 6faafd94f27..0ce9bc1b9a1 100644 --- a/test/e2e/common/node/configmap.go +++ b/test/e2e/common/node/configmap.go @@ -141,7 +141,7 @@ var _ = SIGDescribe("ConfigMap", func() { gomega.Expect(err).To(gomega.HaveOccurred(), "created configMap %q with empty key in namespace %q", configMap.Name, f.Namespace.Name) }) - ginkgo.It("should update ConfigMap successfully", func(ctx context.Context) { + framework.ConformanceIt("should update ConfigMap successfully", f.WithNodeConformance(), func(ctx context.Context) { name := "configmap-test-" + string(uuid.NewUUID()) configMap := newConfigMap(f, name) ginkgo.By(fmt.Sprintf("Creating ConfigMap %v/%v", f.Namespace.Name, configMap.Name)) From 842d6d29fc0a3ae3f78ffb5492791168f6cd7729 Mon Sep 17 00:00:00 2001 From: rbiamru Date: Tue, 16 Sep 2025 00:00:25 -0400 Subject: [PATCH 2/3] test/e2e/node: promote ConfigMap update test to Conformance --- test/conformance/testdata/conformance.yaml | 6 ++++++ test/e2e/common/node/configmap.go | 6 +++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/test/conformance/testdata/conformance.yaml b/test/conformance/testdata/conformance.yaml index 89fff79edc3..8b0dbe9883f 100755 --- a/test/conformance/testdata/conformance.yaml +++ b/test/conformance/testdata/conformance.yaml @@ -2126,6 +2126,12 @@ ConfigMap must be deleted by Collection. release: v1.19 file: test/e2e/common/node/configmap.go +- testname: ConfigMap Update + codename: '[sig-node] ConfigMap should update ConfigMap successfully [NodeConformance] + [Conformance]' + description: Ensure that a ConfigMap object can be created and then updated successfully. + release: v1.32 + file: test/e2e/common/node/configmap.go - testname: Pod Lifecycle, post start exec hook codename: '[sig-node] Container Lifecycle Hook when create a pod with lifecycle hook should execute poststart exec hook properly [NodeConformance] [Conformance]' diff --git a/test/e2e/common/node/configmap.go b/test/e2e/common/node/configmap.go index 0ce9bc1b9a1..e98d731efc1 100644 --- a/test/e2e/common/node/configmap.go +++ b/test/e2e/common/node/configmap.go @@ -140,7 +140,11 @@ var _ = SIGDescribe("ConfigMap", func() { configMap, err := newConfigMapWithEmptyKey(ctx, f) gomega.Expect(err).To(gomega.HaveOccurred(), "created configMap %q with empty key in namespace %q", configMap.Name, f.Namespace.Name) }) - + /* + Release : v1.32 + Testname: ConfigMap Update + Description: Ensure that a ConfigMap object can be created and then updated successfully. + */ framework.ConformanceIt("should update ConfigMap successfully", f.WithNodeConformance(), func(ctx context.Context) { name := "configmap-test-" + string(uuid.NewUUID()) configMap := newConfigMap(f, name) From 1c41cb0550b25a1b149f3247dfa4915d58603b6e Mon Sep 17 00:00:00 2001 From: rbiamru Date: Tue, 16 Sep 2025 00:46:26 -0400 Subject: [PATCH 3/3] fix gofmt --- test/e2e/common/node/configmap.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/e2e/common/node/configmap.go b/test/e2e/common/node/configmap.go index e98d731efc1..aba3e289818 100644 --- a/test/e2e/common/node/configmap.go +++ b/test/e2e/common/node/configmap.go @@ -141,9 +141,9 @@ var _ = SIGDescribe("ConfigMap", func() { gomega.Expect(err).To(gomega.HaveOccurred(), "created configMap %q with empty key in namespace %q", configMap.Name, f.Namespace.Name) }) /* - Release : v1.32 - Testname: ConfigMap Update - Description: Ensure that a ConfigMap object can be created and then updated successfully. + Release : v1.32 + Testname: ConfigMap Update + Description: Ensure that a ConfigMap object can be created and then updated successfully. */ framework.ConformanceIt("should update ConfigMap successfully", f.WithNodeConformance(), func(ctx context.Context) { name := "configmap-test-" + string(uuid.NewUUID())