From 4691ccf2e11b7daa30d8d0ebdc708be21d54ed00 Mon Sep 17 00:00:00 2001 From: xiangpengzhao Date: Mon, 11 Jul 2016 22:34:44 -0400 Subject: [PATCH] Unset https_proxy before roundtripper_test --- pkg/util/httpstream/spdy/roundtripper_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/util/httpstream/spdy/roundtripper_test.go b/pkg/util/httpstream/spdy/roundtripper_test.go index 58d472ece9e..4a5262ec640 100644 --- a/pkg/util/httpstream/spdy/roundtripper_test.go +++ b/pkg/util/httpstream/spdy/roundtripper_test.go @@ -30,6 +30,7 @@ import ( "k8s.io/kubernetes/pkg/util/httpstream" ) +// be sure to unset environment variable https_proxy (if exported) before testing, otherwise the testing will fail unexpectedly. func TestRoundTripAndNewConnection(t *testing.T) { localhostPool := x509.NewCertPool() if !localhostPool.AppendCertsFromPEM(localhostCert) {