Skip to content

Commit

Permalink
fix be ci failed
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaycean committed Mar 26, 2021
1 parent bb954ed commit 5315aad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/test/e2enew/ssl/ssl_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ var _ = ginkgo.Describe("SSL Basic", func() {
}

_, err := http.Get("https://www.test2.com:9443")
gomega.Expect(fmt.Sprintf("%s", err)).Should(gomega.Equal(`Get "https://www.test2.com:9443": remote error: tls: internal error`))
gomega.Expect(fmt.Sprintf("%s", err)).Should(gomega.Equal("Get https://www.test2.com:9443: remote error: tls: internal error"))
})

table.DescribeTable("test ssl basic", func(testCase base.HttpTestCase) {
Expand Down Expand Up @@ -240,7 +240,7 @@ var _ = ginkgo.Describe("SSL Basic", func() {
// try again after disable SSL, make a HTTPS request
time.Sleep(time.Duration(500) * time.Millisecond)
_, err := http.Get("https://www.test2.com:9443")
gomega.Expect(fmt.Sprintf("%s", err)).Should(gomega.Equal(`Get "https://www.test2.com:9443": remote error: tls: internal error`))
gomega.Expect(fmt.Sprintf("%s", err)).Should(gomega.Equal("Get https://www.test2.com:9443: remote error: tls: internal error"))
})

table.DescribeTable("test ssl basic", func(testCase base.HttpTestCase) {
Expand Down

0 comments on commit 5315aad

Please sign in to comment.