Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(997)

Issue 76470043: code review 76470043: net/http: make use of testing.Errorf instead of testing... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years ago by mikio
Modified:
11 years ago
Reviewers:
gobot, dave
CC:
golang-codereviews, dave_cheney.net
Visibility:
Public.

Description

net/http: make use of testing.Errorf instead of testing.Fatalf in non-test function goroutines See testing.FailNow for further information. Also avoid nil pointer derefernce in TestTransportMaxPerHostIdleConns.

Patch Set 1 : diff -r cfbe0887d23b https://code.google.com/p/go #

Total comments: 6

Patch Set 2 : diff -r 06f148a92fbb https://code.google.com/p/go #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -6 lines) Patch
M src/pkg/net/http/transport_test.go View 1 2 chunks +10 lines, -6 lines 0 comments Download

Messages

Total messages: 4
mikio
Hello golang-codereviews@googlegroups.com (cc: golang-codereviews@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go
11 years ago (2014-03-16 02:53:59 UTC) #1
dave_cheney.net
LGTM with minor comments. https://codereview.appspot.com/76470043/diff/40001/src/pkg/net/http/transport_test.go File src/pkg/net/http/transport_test.go (right): https://codereview.appspot.com/76470043/diff/40001/src/pkg/net/http/transport_test.go#newcode354 src/pkg/net/http/transport_test.go:354: _, err = ioutil.ReadAll(resp.Body) if ...
11 years ago (2014-03-16 11:02:42 UTC) #2
mikio
*** Submitted as https://code.google.com/p/go/source/detail?r=262af7c32d11 *** net/http: make use of testing.Errorf instead of testing.Fatalf in non-test ...
11 years ago (2014-03-18 12:12:12 UTC) #3
gobot
11 years ago (2014-03-18 12:27:42 UTC) #4
Message was sent while issue was closed.
This CL appears to have broken the netbsd-amd64-bsiegert builder.
See http://build.golang.org/log/8600d29fe35e6ad33e770a745284f52e048531a1
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b