Skip to content

Commit

Permalink
cleanup test comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Mahmoud Saada committed Apr 22, 2020
1 parent 933ea47 commit 4979d1f
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions pkg/cfn/builder/api_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 4979d1f

Please sign in to comment.