Skip to content

Commit

Permalink
fix ci failed
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaycean committed Mar 2, 2021
1 parent be91a89 commit 0ce9444
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/test/e2enew/ssl/ssl_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ var _ = ginkgo.Describe("SSL Basic", func() {
"cert": string(testCert),
"key": string(apisixKey),
})
assert.Nil(t, err)
// Before configuring SSL, make a HTTPS request
http.DefaultTransport.(*http.Transport).TLSClientConfig = &tls.Config{InsecureSkipVerify: true}
http.DefaultTransport.(*http.Transport).DialContext = func(ctx context.Context, network, addr string) (net.Conn, error) {
Expand Down

0 comments on commit 0ce9444

Please sign in to comment.