From 4979d1fcc9f46a5dbb003d33229f701d8088ea87 Mon Sep 17 00:00:00 2001 From: Mahmoud Saada Date: Wed, 22 Apr 2020 15:58:12 -0400 Subject: [PATCH] cleanup test comments --- pkg/cfn/builder/api_test.go | 9 --------- 1 file changed, 9 deletions(-) diff --git a/pkg/cfn/builder/api_test.go b/pkg/cfn/builder/api_test.go index 501694f253a..3a567d5219f 100644 --- a/pkg/cfn/builder/api_test.go +++ b/pkg/cfn/builder/api_test.go @@ -893,20 +893,11 @@ var _ = Describe("CloudFormation template builder API", func() { Expect(ng.Properties.MetricsCollection).ToNot(BeEmpty()) var metricsCollection map[string]interface{} = ng.Properties.MetricsCollection[0].(map[string]interface{}) - // Expect(ng.Properties.MetricsCollection[0].(interface{})).To(HaveKeyWithValue("granularity", "1Minute")) Expect(metricsCollection).To(HaveKey("granularity")) Expect(metricsCollection).To(HaveKey("metrics")) Expect(metricsCollection["granularity"]).To(Equal("1Minute")) Expect(metricsCollection["metrics"]).To(ContainElement("GroupMinSize")) Expect(metricsCollection["metrics"]).To(ContainElement("GroupMaxSize")) - - // To(Equal(map[string]interface{}{ - // granularity: "1Minute", - // metrics: []string{"GroupMinSize", "GroupMaxSize"}, - // })) - - // Expect(ng.Properties.MetricsCollection[0].(interface{})). - // To(HaveKeyWithValue("metrics", []string{"GroupMinSize", "GroupMaxSize"})) }) It("should have target groups ARNs set", func() {