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

Issue 9103045: code review 9103045: os/exec: make exec_test.go:TestExtraFilesFDShuffle portable.

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 11 months ago by cnicolaou
Modified:
10 years, 10 months ago
CC:
golang-dev, minux1
Visibility:
Public.

Description

os/exec: make exec_test.go:TestExtraFilesFDShuffle portable.

Patch Set 1 #

Patch Set 2 : code review 9103045: os/exec: make exec_test.go:TestExtraFilesFDShuffle portable. #

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

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -7 lines) Patch
M src/pkg/os/exec/exec_test.go View 1 2 2 chunks +22 lines, -7 lines 0 comments Download

Messages

Total messages: 13
cnicolaou
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, 11 months ago (2013-05-02 17:26:51 UTC) #1
minux1
LGTM. Although the fix alone might not be important enough to be included Go 1.1, ...
10 years, 11 months ago (2013-05-05 08:29:37 UTC) #2
bradfitz
*** Submitted as https://code.google.com/p/go/source/detail?r=600c5389c9d3 *** os/exec: make exec_test.go:TestExtraFilesFDShuffle portable. R=golang-dev, minux.ma CC=golang-dev https://codereview.appspot.com/9103045 Committer: Brad ...
10 years, 10 months ago (2013-06-18 15:55:37 UTC) #3
bradfitz
This might break OS X 10.6's builders. If it does I'll make the test skip ...
10 years, 10 months ago (2013-06-18 15:58:39 UTC) #4
albert.strasheim
go version devel +4298a713c372 Tue Jun 18 17:15:26 2013 -0700 linux/amd64 $ go test os/exec ...
10 years, 10 months ago (2013-06-19 12:40:14 UTC) #5
dfc
This is what I see on darwin/amd64, 10.7.5 ^C^Xodessa(~/go/src) % go test os/exec -v === ...
10 years, 10 months ago (2013-06-19 12:43:55 UTC) #6
albert.strasheim
Hello On 2013/06/19 12:43:55, dfc wrote: > I do not know if -cpu=1,1 is an ...
10 years, 10 months ago (2013-06-19 12:51:13 UTC) #7
dfc
Hi Albert, Please don't interpret what I am saying as a criticism. I am extremely ...
10 years, 10 months ago (2013-06-19 12:59:26 UTC) #8
minux1
On Wed, Jun 19, 2013 at 8:59 PM, Dave Cheney <dave@cheney.net> wrote: > I am ...
10 years, 10 months ago (2013-06-19 13:15:14 UTC) #9
albert.strasheim
Hello On 2013/06/19 12:59:26, dfc wrote: > Please don't interpret what I am saying as ...
10 years, 10 months ago (2013-06-19 13:16:40 UTC) #10
minux1
On Wed, Jun 19, 2013 at 9:16 PM, <fullung@gmail.com> wrote: > One option could be ...
10 years, 10 months ago (2013-06-19 13:23:01 UTC) #11
albert.strasheim
Hello On Wed, Jun 19, 2013 at 1:22 PM, minux <minux.ma@gmail.com> wrote: >> if you ...
10 years, 10 months ago (2013-06-19 13:28:18 UTC) #12
minux1
10 years, 10 months ago (2013-06-19 13:37:51 UTC) #13
On Wed, Jun 19, 2013 at 9:27 PM, Albert Strasheim <fullung@gmail.com> wrote:
> On Wed, Jun 19, 2013 at 1:22 PM, minux <minux.ma@gmail.com> wrote:
>>> if you could convince people to run that for CLs that change packages
>>> and/or add tests.
>> I have a concern that if a test isn't run by the builder, people will
>> tend to break
>> a test.
>> i think catching bugs like this is precisely the reason why we set up
>> the builders.
>
> Agreed.
>
> Can we add a parameter to make.bash/run.bash that invokes extra tests
> like these and have only fast builders use it?
this is possible.

what i have in mind is that we add some standard test to std lib that runs last
(like pkg/net/http/z_last_test.go), and checks for cases like:
1. remaining open fds (i.e. leaked fd)
2. remaining goroutines
3. broken net pollers (to catch the "runtime: kevent on fd 4 failed
with 9" error)

and then we make sure all builder test this.
Sign in to reply to this message.

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