From 72335f66075517dedf66356c2f96d8f57f080b8b Mon Sep 17 00:00:00 2001 From: Ashley Gau Date: Tue, 26 Jun 2018 10:38:12 -0700 Subject: [PATCH] update NEGAnnotation --- test/e2e/network/ingress.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/e2e/network/ingress.go b/test/e2e/network/ingress.go index 418377737e6..042e6dfef3a 100644 --- a/test/e2e/network/ingress.go +++ b/test/e2e/network/ingress.go @@ -491,7 +491,7 @@ var _ = SIGDescribe("Loadbalancing: L7", func() { It("should conform to Ingress spec", func() { jig.PollInterval = 5 * time.Second conformanceTests = framework.CreateIngressComformanceTests(jig, ns, map[string]string{ - framework.NEGAnnotation: "true", + framework.NEGAnnotation: `{"ingress": true}`, }) for _, t := range conformanceTests { By(t.EntryLog) @@ -517,7 +517,7 @@ var _ = SIGDescribe("Loadbalancing: L7", func() { svcList, err := f.ClientSet.CoreV1().Services(ns).List(metav1.ListOptions{}) Expect(err).NotTo(HaveOccurred()) for _, svc := range svcList.Items { - svc.Annotations[framework.NEGAnnotation] = "false" + svc.Annotations[framework.NEGAnnotation] = `{"ingress": false}` _, err = f.ClientSet.CoreV1().Services(ns).Update(&svc) Expect(err).NotTo(HaveOccurred()) } @@ -530,7 +530,7 @@ var _ = SIGDescribe("Loadbalancing: L7", func() { svcList, err = f.ClientSet.CoreV1().Services(ns).List(metav1.ListOptions{}) Expect(err).NotTo(HaveOccurred()) for _, svc := range svcList.Items { - svc.Annotations[framework.NEGAnnotation] = "true" + svc.Annotations[framework.NEGAnnotation] = `{"ingress": true}` _, err = f.ClientSet.CoreV1().Services(ns).Update(&svc) Expect(err).NotTo(HaveOccurred()) }