Skip to content

Commit

Permalink
Try to fix proxy tests
Browse files Browse the repository at this point in the history
  • Loading branch information
buger committed May 29, 2018
1 parent 28f0b75 commit 07c958f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cert_go1.10_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,9 @@ func TestProxyTransport(t *testing.T) {
})

t.Run("API: Valid proxy", func(t *testing.T) {
globalConf.ProxySSLMinVersion = 771
config.SetGlobal(globalConf)

_, _, _, proxyCert := genServerCertificate()
proxy := initProxy("https", &tls.Config{
Certificates: []tls.Certificate{proxyCert},
Expand Down

0 comments on commit 07c958f

Please sign in to comment.