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

Issue 75900043: code review 75900043: net: make use of Errorf instead of Fatalf in non-test f... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 3 months ago by mikio
Modified:
11 years, 3 months ago
Reviewers:
iant
CC:
golang-codereviews, iant
Visibility:
Public.

Description

net: make use of testing.Errorf instead of testing.Fatalf in non-test function goroutines See testing.FailNow for further information.

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

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

Total comments: 6

Patch Set 3 : diff -r b1c5bf74b59e https://code.google.com/p/go #

Patch Set 4 : diff -r b1c5bf74b59e https://code.google.com/p/go #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -24 lines) Patch
M src/pkg/net/fd_mutex_test.go View 1 2 chunks +18 lines, -9 lines 0 comments Download
M src/pkg/net/net_test.go View 1 3 chunks +10 lines, -5 lines 0 comments Download
M src/pkg/net/tcp_test.go View 1 5 chunks +10 lines, -5 lines 0 comments Download
M src/pkg/net/timeout_test.go View 5 chunks +10 lines, -5 lines 0 comments Download

Messages

Total messages: 7
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, 3 months ago (2014-03-14 08:23:21 UTC) #1
iant
LGTM
11 years, 3 months ago (2014-03-14 13:29:38 UTC) #2
mikio
PTAL swept away all test files in net.
11 years, 3 months ago (2014-03-14 15:50:50 UTC) #3
iant
https://codereview.appspot.com/75900043/diff/60001/src/pkg/net/server_test.go File src/pkg/net/server_test.go (right): https://codereview.appspot.com/75900043/diff/60001/src/pkg/net/server_test.go#newcode218 src/pkg/net/server_test.go:218: t.Errorf("Dial(%q, %q) failed: %v", net, taddr, err) This one ...
11 years, 3 months ago (2014-03-14 17:39:23 UTC) #4
mikio
ptal https://codereview.appspot.com/75900043/diff/60001/src/pkg/net/server_test.go File src/pkg/net/server_test.go (right): https://codereview.appspot.com/75900043/diff/60001/src/pkg/net/server_test.go#newcode218 src/pkg/net/server_test.go:218: t.Errorf("Dial(%q, %q) failed: %v", net, taddr, err) On ...
11 years, 3 months ago (2014-03-15 04:10:17 UTC) #5
iant
LGTM
11 years, 3 months ago (2014-03-15 04:25:31 UTC) #6
mikio
11 years, 3 months ago (2014-03-15 04:43:12 UTC) #7
*** Submitted as https://code.google.com/p/go/source/detail?r=d5f80a4411a5 ***

net: make use of testing.Errorf instead of testing.Fatalf in non-test function
goroutines

See testing.FailNow for further information.

LGTM=iant
R=golang-codereviews, iant
CC=golang-codereviews
https://codereview.appspot.com/75900043
Sign in to reply to this message.

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