From eb5c38d6363c6262f6d4d5e49efaf6237a73e1f6 Mon Sep 17 00:00:00 2001 From: Bhumij Gupta Date: Thu, 5 Aug 2021 17:35:22 +0530 Subject: [PATCH] Add http request test to annotaion ssl cipher test (#7431) Signed-off-by: Bhumij Gupta --- test/e2e/annotations/sslciphers.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/test/e2e/annotations/sslciphers.go b/test/e2e/annotations/sslciphers.go index 0e2753b525..a619bf3bc6 100644 --- a/test/e2e/annotations/sslciphers.go +++ b/test/e2e/annotations/sslciphers.go @@ -17,6 +17,7 @@ limitations under the License. package annotations import ( + "net/http" "strings" "github.com/onsi/ginkgo" @@ -46,5 +47,11 @@ var _ = framework.DescribeAnnotation("ssl-ciphers", func() { return strings.Contains(server, "ssl_ciphers ALL:!aNULL:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP;") && strings.Contains(server, "ssl_prefer_server_ciphers off;") }) + f.HTTPTestClient(). + GET("/something"). + WithURL(f.GetURL(framework.HTTPS)). + WithHeader("Host", host). + Expect(). + Status(http.StatusOK) }) })