{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/7104","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/7104/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/7104/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/7104/events","html_url":"https://github.com/kubernetes/kubernetes/issues/7104","id":69825326,"number":7104,"title":"TestReadConfigData needs a better util.ReadConfigDataFromReader() which succeeds on success and fails on failure","user":{"login":"quinton-hoole","id":10390785,"avatar_url":"https://avatars.githubusercontent.com/u/10390785?v=3","gravatar_id":"","url":"https://api.github.com/users/quinton-hoole","html_url":"https://github.com/quinton-hoole","followers_url":"https://api.github.com/users/quinton-hoole/followers","following_url":"https://api.github.com/users/quinton-hoole/following{/other_user}","gists_url":"https://api.github.com/users/quinton-hoole/gists{/gist_id}","starred_url":"https://api.github.com/users/quinton-hoole/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quinton-hoole/subscriptions","organizations_url":"https://api.github.com/users/quinton-hoole/orgs","repos_url":"https://api.github.com/users/quinton-hoole/repos","events_url":"https://api.github.com/users/quinton-hoole/events{/privacy}","received_events_url":"https://api.github.com/users/quinton-hoole/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/area/test","name":"area/test","color":"fad8c7"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/priority/P2","name":"priority/P2","color":"fbca04"},{"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/team/testing","name":"team/testing","color":"d2b48c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-04-21T12:01:09Z","updated_at":"2015-09-24T21:42:47Z","closed_at":null,"body":"I couldn't help but wonder whether this error that I'm seeing locally is related to #6954 . I've just rebased against upstream head.\r\n\r\n--- FAIL: TestReadConfigData (15.25s)\r\nhelpers_test.go:246: unexpected non-error for http://some.non.existent.foobar\r\nFAIL\r\nFAIL github.com/GoogleCloudPlatform/kubernetes/pkg/kubectl/cmd/util 15.333s\r\n\r\nI'll debug further in the morning."},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments/143058408","html_url":"https://github.com/kubernetes/kubernetes/issues/7104#issuecomment-143058408","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/7104","id":143058408,"user":{"login":"cjellick","id":2473240,"avatar_url":"https://avatars.githubusercontent.com/u/2473240?v=3","gravatar_id":"","url":"https://api.github.com/users/cjellick","html_url":"https://github.com/cjellick","followers_url":"https://api.github.com/users/cjellick/followers","following_url":"https://api.github.com/users/cjellick/following{/other_user}","gists_url":"https://api.github.com/users/cjellick/gists{/gist_id}","starred_url":"https://api.github.com/users/cjellick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cjellick/subscriptions","organizations_url":"https://api.github.com/users/cjellick/orgs","repos_url":"https://api.github.com/users/cjellick/repos","events_url":"https://api.github.com/users/cjellick/events{/privacy}","received_events_url":"https://api.github.com/users/cjellick/received_events","type":"User","site_admin":false},"created_at":"2015-09-24T21:42:47Z","updated_at":"2015-09-24T21:42:47Z","body":"@quinton-hoole I got this failure for the same reason. The thing is, the URL returns a 200 response code and a non-empty body. So, I think `util.ReadConfigDataFromReader()`, it is doing its job. Would switching the URL to something on localhost that _shouldnt_ be listening be reasonable? Maybe `http://localhost:9999/foobar`"}}