From a98992060c4da2b6b824ec4227969b4d3b200268 Mon Sep 17 00:00:00 2001 From: Zihong Zheng Date: Wed, 8 Mar 2017 17:45:24 -0800 Subject: [PATCH] dns_autoscaling e2e: Dont expect configMap to be re-created with previous params --- test/e2e/dns_autoscaling.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/test/e2e/dns_autoscaling.go b/test/e2e/dns_autoscaling.go index 2fa46b5cb0c..2c34d9cc18e 100644 --- a/test/e2e/dns_autoscaling.go +++ b/test/e2e/dns_autoscaling.go @@ -19,7 +19,6 @@ package e2e import ( "fmt" "math" - "reflect" "strings" "time" @@ -185,12 +184,9 @@ var _ = framework.KubeDescribe("DNS horizontal autoscaling", func() { Expect(err).NotTo(HaveOccurred()) By("Wait for the ConfigMap got re-created") - configMap, err := waitForDNSConfigMapCreated(c, DNSdefaultTimeout) + _, err = waitForDNSConfigMapCreated(c, DNSdefaultTimeout) Expect(err).NotTo(HaveOccurred()) - By("Check the new created ConfigMap got the same data as we have") - Expect(reflect.DeepEqual(previousParams, configMap.Data)).To(Equal(true)) - By("Replace the dns autoscaling parameters with another testing parameters") err = updateDNSScalingConfigMap(c, packDNSScalingConfigMap(packLinearParams(&DNSParams_2))) Expect(err).NotTo(HaveOccurred())