k3s/pkg/util/httpstream
Kubernetes Submit Queue ec5b204573 Merge pull request #28816 from xiangpengzhao/add_test_comment
Automatic merge from submit-queue

Unset https_proxy before roundtripper_test

When running `hack/test-go.sh`, if the testing env is behind a https proxy, roundtripper_test will fail randomly.

After `unset https_proxy`, the testing works well. So, add a comment to be a troubleshooting tip.

Fail info:

```
--- FAIL: TestRoundTripAndNewConnection (0.12s)
	roundtripper_test.go:319: proxied http->http: shouldError=false, got true: Get http://127.0.0.1:46711: unexpected EOF
FAIL
FAIL	k8s.io/kubernetes/pkg/util/httpstream/spdy	0.148s
```

```
--- FAIL: TestRoundTripAndNewConnection (0.12s)
	roundtripper_test.go:319: proxied https with auth (valid hostname + RootCAs) -> http: shouldError=false, got true: Get http://127.0.0.1:41028: unexpected EOF
FAIL
FAIL	k8s.io/kubernetes/pkg/util/httpstream/spdy	0.146s
```
2016-08-23 00:19:37 -07:00
..
spdy Merge pull request #28816 from xiangpengzhao/add_test_comment 2016-08-23 00:19:37 -07:00
doc.go Use Go canonical import paths 2016-07-16 13:48:21 -04:00
httpstream.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
httpstream_test.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00