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

Issue 5543062: code review 5543062: net/http: fix data race in test (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 6 months ago by dvyukov
Modified:
13 years, 6 months ago
Reviewers:
rsc, bradfitz
CC:
golang-dev, dsymonds, mpimenov
Visibility:
Public.

Description

net/http: fix data race in test Fixes issue 2712.

Patch Set 1 #

Patch Set 2 : diff -r 1000b88c19e2 https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r 1000b88c19e2 https://go.googlecode.com/hg/ #

Patch Set 4 : diff -r 1000b88c19e2 https://go.googlecode.com/hg/ #

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

Messages

Total messages: 7
dvyukov
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com, mpimenov@google.com), I'd like you to review this change to https://go.googlecode.com/hg/
13 years, 6 months ago (2012-01-16 09:02:28 UTC) #1
dsymonds
LGTM
13 years, 6 months ago (2012-01-16 10:34:36 UTC) #2
dvyukov
*** Submitted as http://code.google.com/p/go/source/detail?r=221d98ac4a51 *** net/http: fix data race in test Fixes issue 2712. R=golang-dev, ...
13 years, 6 months ago (2012-01-16 10:47:58 UTC) #3
bradfitz
This "fix" is kinda awkward. In all the other tests where the test HTTP server ...
13 years, 6 months ago (2012-01-16 17:11:46 UTC) #4
dvyukov
On Mon, Jan 16, 2012 at 9:11 PM, Brad Fitzpatrick <bradfitz@golang.org>wrote: > This "fix" is ...
13 years, 6 months ago (2012-01-17 07:57:38 UTC) #5
rsc
I agree with Brad about this. I did not object because this is a test, ...
13 years, 6 months ago (2012-01-17 16:14:52 UTC) #6
dvyukov
13 years, 6 months ago (2012-01-19 12:16:17 UTC) #7
On Tue, Jan 17, 2012 at 8:14 PM, Russ Cox <rsc@golang.org> wrote:

> I agree with Brad about this.  I did not object because this is a test,
> but in general it is not the role of the race detection to dictate the
> way we write Go code.
>

The tool merely points to potential issues. The way to fix it was solely my
idea.
Sign in to reply to this message.

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