Skip to content

Commit

Permalink
Merge pull request kubernetes#18249 from mvdan/apiserver-test-close
Browse files Browse the repository at this point in the history
Auto commit by PR queue bot
  • Loading branch information
k8s-merge-robot committed Dec 9, 2015
2 parents b266aa1 + 5ec087f commit e477503
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/apiserver/apiserver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -984,6 +984,7 @@ func TestList(t *testing.T) {
t.Errorf("%d: unexpected error: %v", i, err)
continue
}
defer resp.Body.Close()
if resp.StatusCode != http.StatusOK {
t.Errorf("%d: unexpected status: %d from url %s, Expected: %d, %#v", i, resp.StatusCode, testCase.url, http.StatusOK, resp)
body, err := ioutil.ReadAll(resp.Body)
Expand Down

0 comments on commit e477503

Please sign in to comment.