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

Issue 87640043: code review 87640043: net/http: make race detector happy for recently-added test (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 1 month ago by bradfitz
Modified:
10 years, 1 month ago
Reviewers:
gobot, rsc
CC:
rsc, dvyukov, golang-codereviews
Visibility:
Public.

Description

net/http: make race detector happy for recently-added test Update Issue 7264 Races: http://build.golang.org/log/a2e401fdcd4903a61a3375bff5da702a20ddafad http://build.golang.org/log/ec4c69e92076a747ac6d5df7eb7b382b31ab3d43 I think this is the first time I've actually seen a manifestation of Issue 7264, and one that I can reproduce. I don't know why it triggers on this test and not any others just like it, or why I can't reproduce Issue 7264 independently, even when Dmitry gives me minimal repros. Work around it for now with some synchronization to make the race detector happy. The proper fix will probably be in net/http/httptest itself, not in all hundred some tests.

Patch Set 1 #

Patch Set 2 : diff -r 3a412db5d515 https://go.googlecode.com/hg/ #

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

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

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

Messages

Total messages: 4
bradfitz
Hello rsc@golang.org (cc: dvyukov@google.com, golang-codereviews@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
10 years, 1 month ago (2014-04-14 15:56:28 UTC) #1
rsc
LGTM
10 years, 1 month ago (2014-04-14 18:10:08 UTC) #2
bradfitz
*** Submitted as https://code.google.com/p/go/source/detail?r=d76edbf70414 *** net/http: make race detector happy for recently-added test Update Issue ...
10 years, 1 month ago (2014-04-14 19:08:43 UTC) #3
gobot
10 years, 1 month ago (2014-04-14 19:27:26 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/b2b628a15953a4e1bce1f2db86de92a4244337f6
Sign in to reply to this message.

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