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

Issue 8011043: code review 8011043: net: fix test data corruption in repetitive test runs b... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 1 month ago by mikio
Modified:
11 years, 1 month ago
Reviewers:
CC:
golang-dev, albert.strasheim, bradfitz
Visibility:
Public.

Description

net: fix test data corruption in repetitive test runs by -cpu This CL avoids test data sharing in repetitive test runs; e.g., go test net -cpu=1,1,1

Patch Set 1 #

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

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

Total comments: 2

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

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -63 lines) Patch
M src/pkg/net/ipraw_test.go View 1 2 3 3 chunks +14 lines, -19 lines 0 comments Download
M src/pkg/net/tcp_test.go View 1 2 3 3 chunks +14 lines, -22 lines 0 comments Download
M src/pkg/net/udp_test.go View 1 2 3 3 chunks +14 lines, -22 lines 0 comments Download

Messages

Total messages: 10
albert.strasheim
LGTM Applying this patch seems to fix things. Without the patch, I can reproduce the ...
11 years, 1 month ago (2013-03-25 09:40:46 UTC) #1
mikio
On Mon, Mar 25, 2013 at 6:40 PM, <fullung@gmail.com> wrote: > go test net -cpu=1,1,1 ...
11 years, 1 month ago (2013-03-25 09:53:47 UTC) #2
mikio
Hello golang-dev@googlegroups.com, fullung@gmail.com (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go
11 years, 1 month ago (2013-03-25 11:32:41 UTC) #3
mikio
PTAL simplifies test code.
11 years, 1 month ago (2013-03-25 11:38:03 UTC) #4
albert.strasheim
LGTM someone else should probably also take a look
11 years, 1 month ago (2013-03-25 11:40:37 UTC) #5
bradfitz
https://codereview.appspot.com/8011043/diff/10001/src/pkg/net/ipraw_test.go File src/pkg/net/ipraw_test.go (right): https://codereview.appspot.com/8011043/diff/10001/src/pkg/net/ipraw_test.go#newcode47 src/pkg/net/ipraw_test.go:47: resolveIPAddrTests = append(resolveIPAddrTests, []resolveIPAddrTest{ so you're growing the number ...
11 years, 1 month ago (2013-03-25 15:38:45 UTC) #6
mikio
PTAL https://codereview.appspot.com/8011043/diff/10001/src/pkg/net/ipraw_test.go File src/pkg/net/ipraw_test.go (right): https://codereview.appspot.com/8011043/diff/10001/src/pkg/net/ipraw_test.go#newcode47 src/pkg/net/ipraw_test.go:47: resolveIPAddrTests = append(resolveIPAddrTests, []resolveIPAddrTest{ On 2013/03/25 15:38:46, bradfitz ...
11 years, 1 month ago (2013-03-26 02:19:37 UTC) #7
mikio
PTAL
11 years, 1 month ago (2013-03-26 02:19:42 UTC) #8
bradfitz
LGTM
11 years, 1 month ago (2013-03-26 15:24:48 UTC) #9
mikio
11 years, 1 month ago (2013-03-26 16:06:58 UTC) #10
*** Submitted as https://code.google.com/p/go/source/detail?r=be1edd532f2d ***

net: fix test data corruption in repetitive test runs by -cpu

This CL avoids test data sharing in repetitive test runs;
e.g., go test net -cpu=1,1,1

R=golang-dev, fullung, bradfitz
CC=golang-dev
https://codereview.appspot.com/8011043
Sign in to reply to this message.

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