From 0b6994e85dfb3d12b45e850431a43dfd0a4f888a Mon Sep 17 00:00:00 2001 From: Caleb Woodbine Date: Wed, 12 Feb 2020 08:58:34 +1300 Subject: [PATCH 1/8] Promote: ConfigMap Lifecycle test --- test/e2e/common/configmap.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/e2e/common/configmap.go b/test/e2e/common/configmap.go index 93311c5ee3dc..89de68e5c22d 100644 --- a/test/e2e/common/configmap.go +++ b/test/e2e/common/configmap.go @@ -168,6 +168,12 @@ var _ = ginkgo.Describe("[sig-node] ConfigMap", func() { framework.ExpectEqual(configMapFromUpdate.Data, configMap.Data) }) + /* + Release : v1.18 + Testname: ConfigMap lifecycle + Description: Attempt to create a ConfigMap. Patch the created ConfigMap. Fetching the ConfigMap MUST reflect changes. + By fetching all the ConfigMaps via a Label selector it MUST find the ConfigMap by it's static label and updated value. The ConfigMap must be deleted by Collection. + */ ginkgo.It("should run through a ConfigMap lifecycle", func() { testNamespaceName := f.Namespace.Name testConfigMapName := "test-configmap" + string(uuid.NewUUID()) From 0ea650b2c646b219c52b4b86ab93fadb8428fed6 Mon Sep 17 00:00:00 2001 From: Caleb Woodbine Date: Wed, 12 Feb 2020 10:55:18 +1300 Subject: [PATCH 2/8] Fix: conformance data, conformance test entrypoint --- test/e2e/common/configmap.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e/common/configmap.go b/test/e2e/common/configmap.go index 89de68e5c22d..67f0bf578c88 100644 --- a/test/e2e/common/configmap.go +++ b/test/e2e/common/configmap.go @@ -174,7 +174,7 @@ var _ = ginkgo.Describe("[sig-node] ConfigMap", func() { Description: Attempt to create a ConfigMap. Patch the created ConfigMap. Fetching the ConfigMap MUST reflect changes. By fetching all the ConfigMaps via a Label selector it MUST find the ConfigMap by it's static label and updated value. The ConfigMap must be deleted by Collection. */ - ginkgo.It("should run through a ConfigMap lifecycle", func() { + framework.ConformanceIt("should run through a ConfigMap lifecycle", func() { testNamespaceName := f.Namespace.Name testConfigMapName := "test-configmap" + string(uuid.NewUUID()) From f6cd389a6cbfa5c1af978de2eb946e0770ed3767 Mon Sep 17 00:00:00 2001 From: Caleb Woodbine Date: Wed, 19 Feb 2020 16:32:21 +1300 Subject: [PATCH 3/8] Fix: formatting --- test/e2e/common/configmap.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/e2e/common/configmap.go b/test/e2e/common/configmap.go index 67f0bf578c88..356bdbc3eaab 100644 --- a/test/e2e/common/configmap.go +++ b/test/e2e/common/configmap.go @@ -169,10 +169,10 @@ var _ = ginkgo.Describe("[sig-node] ConfigMap", func() { }) /* - Release : v1.18 - Testname: ConfigMap lifecycle - Description: Attempt to create a ConfigMap. Patch the created ConfigMap. Fetching the ConfigMap MUST reflect changes. - By fetching all the ConfigMaps via a Label selector it MUST find the ConfigMap by it's static label and updated value. The ConfigMap must be deleted by Collection. + Release : v1.18 + Testname: ConfigMap lifecycle + Description: Attempt to create a ConfigMap. Patch the created ConfigMap. Fetching the ConfigMap MUST reflect changes. + By fetching all the ConfigMaps via a Label selector it MUST find the ConfigMap by it's static label and updated value. The ConfigMap must be deleted by Collection. */ framework.ConformanceIt("should run through a ConfigMap lifecycle", func() { testNamespaceName := f.Namespace.Name From b4ee99c465a44eda6ec36d900e8d7b80e7a63b87 Mon Sep 17 00:00:00 2001 From: Caleb Woodbine Date: Wed, 26 Feb 2020 11:13:19 +1300 Subject: [PATCH 4/8] Fix formatting --- test/e2e/common/configmap.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/e2e/common/configmap.go b/test/e2e/common/configmap.go index 356bdbc3eaab..4263c6eb69b9 100644 --- a/test/e2e/common/configmap.go +++ b/test/e2e/common/configmap.go @@ -169,10 +169,10 @@ var _ = ginkgo.Describe("[sig-node] ConfigMap", func() { }) /* - Release : v1.18 - Testname: ConfigMap lifecycle - Description: Attempt to create a ConfigMap. Patch the created ConfigMap. Fetching the ConfigMap MUST reflect changes. - By fetching all the ConfigMaps via a Label selector it MUST find the ConfigMap by it's static label and updated value. The ConfigMap must be deleted by Collection. + Release : v1.18 + Testname: ConfigMap lifecycle + Description: Attempt to create a ConfigMap. Patch the created ConfigMap. Fetching the ConfigMap MUST reflect changes. + By fetching all the ConfigMaps via a Label selector it MUST find the ConfigMap by it's static label and updated value. The ConfigMap must be deleted by Collection. */ framework.ConformanceIt("should run through a ConfigMap lifecycle", func() { testNamespaceName := f.Namespace.Name From b20856e5bb7ed72bdc626380ed2b3f2b6f5a5b18 Mon Sep 17 00:00:00 2001 From: Caleb Woodbine Date: Thu, 27 Feb 2020 14:43:52 +1300 Subject: [PATCH 5/8] Add conformance testdata --- test/conformance/testdata/conformance.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/test/conformance/testdata/conformance.yaml b/test/conformance/testdata/conformance.yaml index e859b40a2a31..4b2c7274c637 100755 --- a/test/conformance/testdata/conformance.yaml +++ b/test/conformance/testdata/conformance.yaml @@ -1851,6 +1851,14 @@ fail. release: v1.14 file: test/e2e/common/configmap.go +- testname: ConfigMap lifecycle + codename: '[sig-node] ConfigMap should run through a ConfigMap lifecycle [Conformance]' + description: Attempt to create a ConfigMap. Patch the created ConfigMap. Fetching + the ConfigMap MUST reflect changes. By fetching all the ConfigMaps via a Label + selector it MUST find the ConfigMap by it's static label and updated value. The + ConfigMap must be deleted by Collection. + release: v1.18 + file: test/e2e/common/configmap.go - testname: DownwardAPI, environment for CPU and memory limits and requests codename: '[sig-node] Downward API should provide container''s limits.cpu/memory and requests.cpu/memory as env vars [NodeConformance] [Conformance]' From d9ca8498db4ec8c6c5e52e5e7ac4fdbbc4f75657 Mon Sep 17 00:00:00 2001 From: Caleb Woodbine Date: Wed, 25 Mar 2020 09:33:03 +1300 Subject: [PATCH 6/8] Update conformance metadata to have release version v1.19 --- test/e2e/common/configmap.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e/common/configmap.go b/test/e2e/common/configmap.go index 4263c6eb69b9..93497dd7d564 100644 --- a/test/e2e/common/configmap.go +++ b/test/e2e/common/configmap.go @@ -169,7 +169,7 @@ var _ = ginkgo.Describe("[sig-node] ConfigMap", func() { }) /* - Release : v1.18 + Release : v1.19 Testname: ConfigMap lifecycle Description: Attempt to create a ConfigMap. Patch the created ConfigMap. Fetching the ConfigMap MUST reflect changes. By fetching all the ConfigMaps via a Label selector it MUST find the ConfigMap by it's static label and updated value. The ConfigMap must be deleted by Collection. From 82c99d8d42aec5e57f2b0920919fc189da0c192b Mon Sep 17 00:00:00 2001 From: Caleb Woodbine Date: Fri, 27 Mar 2020 08:56:32 +1300 Subject: [PATCH 7/8] Fix metadata release version --- test/conformance/testdata/conformance.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/conformance/testdata/conformance.yaml b/test/conformance/testdata/conformance.yaml index 4b2c7274c637..4a79a9d19422 100755 --- a/test/conformance/testdata/conformance.yaml +++ b/test/conformance/testdata/conformance.yaml @@ -1857,7 +1857,7 @@ the ConfigMap MUST reflect changes. By fetching all the ConfigMaps via a Label selector it MUST find the ConfigMap by it's static label and updated value. The ConfigMap must be deleted by Collection. - release: v1.18 + release: v1.19 file: test/e2e/common/configmap.go - testname: DownwardAPI, environment for CPU and memory limits and requests codename: '[sig-node] Downward API should provide container''s limits.cpu/memory From 9520a87488de6138ea503804b66bf9b79d6e0df6 Mon Sep 17 00:00:00 2001 From: Stephen Heywood Date: Thu, 9 Jul 2020 21:16:22 +0000 Subject: [PATCH 8/8] Fix metadata formatting --- test/e2e/common/configmap.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/e2e/common/configmap.go b/test/e2e/common/configmap.go index 93497dd7d564..e5e49ce56213 100644 --- a/test/e2e/common/configmap.go +++ b/test/e2e/common/configmap.go @@ -169,10 +169,10 @@ var _ = ginkgo.Describe("[sig-node] ConfigMap", func() { }) /* - Release : v1.19 - Testname: ConfigMap lifecycle - Description: Attempt to create a ConfigMap. Patch the created ConfigMap. Fetching the ConfigMap MUST reflect changes. - By fetching all the ConfigMaps via a Label selector it MUST find the ConfigMap by it's static label and updated value. The ConfigMap must be deleted by Collection. + Release : v1.19 + Testname: ConfigMap lifecycle + Description: Attempt to create a ConfigMap. Patch the created ConfigMap. Fetching the ConfigMap MUST reflect changes. + By fetching all the ConfigMaps via a Label selector it MUST find the ConfigMap by it's static label and updated value. The ConfigMap must be deleted by Collection. */ framework.ConformanceIt("should run through a ConfigMap lifecycle", func() { testNamespaceName := f.Namespace.Name