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

Issue 14639044: code review 14639044: net: make TestDNSThreadLimit execute at the end of tests (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 6 months ago by mikio
Modified:
10 years, 4 months ago
Reviewers:
adg
CC:
golang-dev, bradfitz, adg, minux1
Visibility:
Public.

Description

net: make TestDNSThreadLimit execute at the end of tests Because TestDNSThreadLimit consumes tons of file descriptors and makes other tests flaky when CGO_ENABLE=0 or being with netgo tag. Fixes issue 6580.

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

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

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+0 lines, -223 lines) Patch
M src/pkg/net/dialgoogle_test.go View 1 chunk +0 lines, -24 lines 0 comments Download
M src/pkg/net/z_last_test.go View 2 chunks +0 lines, -199 lines 0 comments Download

Messages

Total messages: 12
mikio
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go
10 years, 6 months ago (2013-10-13 11:03:46 UTC) #1
mikio
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com), Please take another look.
10 years, 4 months ago (2013-12-10 11:00:07 UTC) #2
bradfitz
I would like to see it documented or decided that the z_last_test.go thing is actually ...
10 years, 4 months ago (2013-12-10 11:23:46 UTC) #3
mikio
+adg On Tue, Dec 10, 2013 at 8:23 PM, <bradfitz@golang.org> wrote: > I would like ...
10 years, 4 months ago (2013-12-10 11:29:05 UTC) #4
mikio
adg, any thoughts? for now net/http and net packages need some way to put off ...
10 years, 4 months ago (2013-12-13 06:15:22 UTC) #5
adg
I don't understand how this CL does what the description says. Aren't you just removing ...
10 years, 4 months ago (2013-12-16 02:07:06 UTC) #6
mikio
> I don't understand how this CL does what the description says. > Aren't you ...
10 years, 4 months ago (2013-12-16 02:36:15 UTC) #7
minux1
On Sun, Dec 15, 2013 at 9:36 PM, <mikioh.mikioh@gmail.com> wrote: > I don't understand how ...
10 years, 4 months ago (2013-12-16 02:39:21 UTC) #8
mikio
On 2013/12/16 02:39:21, minux wrote: > > Just did hg cp dialgoogle_test.go z_last_test.go, then modified ...
10 years, 4 months ago (2013-12-16 02:46:40 UTC) #9
adg
LGTM
10 years, 4 months ago (2013-12-17 00:31:43 UTC) #10
mikio
On 2013/12/17 00:31:43, adg wrote: > LGTM Thanks, confirmed that cmd/go/pkg.go uses sort.Strings, will submit.
10 years, 4 months ago (2013-12-18 04:04:26 UTC) #11
mikio
10 years, 4 months ago (2013-12-18 04:05:54 UTC) #12
*** Submitted as https://code.google.com/p/go/source/detail?r=6a8d10f551ea ***

net: make TestDNSThreadLimit execute at the end of tests

Because TestDNSThreadLimit consumes tons of file descriptors and
makes other tests flaky when CGO_ENABLE=0 or being with netgo tag.

Fixes issue 6580.

R=golang-dev, bradfitz, adg, minux.ma
CC=golang-dev
https://codereview.appspot.com/14639044
Sign in to reply to this message.

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