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

Issue 4395042: code review 4395042: container/heap: fix circular dependency in test (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years ago by dsymonds
Modified:
14 years ago
Reviewers:
CC:
rsc, r2, golang-dev
Visibility:
Public.

Description

container/heap: fix circular dependency in test Having the test be in the container/heap package yields a cycle container/heap (for the test) -> testing -> time -> container/heap (for timerHeap) Occasionally the linker would get mixed up, resulting in a test panic in a very weird place.

Patch Set 1 #

Patch Set 2 : diff -r 8c77f7800fae https://go.googlecode.com/hg/ #

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -1 line) Patch
M src/pkg/container/heap/heap_test.go View 1 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 12
dsymonds
Hello rsc@golang.org (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
14 years ago (2011-04-13 00:41:27 UTC) #1
r2
i will express a slight reservation that this is pushing things in the wrong direction. ...
14 years ago (2011-04-13 00:45:59 UTC) #2
dsymonds
On Wed, Apr 13, 2011 at 10:45 AM, Rob 'Commander' Pike <r@google.com> wrote: > i ...
14 years ago (2011-04-13 00:56:23 UTC) #3
rsc
I'd like to understand better what is going on. The first layer of the mystery ...
14 years ago (2011-04-13 12:19:13 UTC) #4
dsymonds
On Wed, Apr 13, 2011 at 10:19 PM, Russ Cox <rsc@golang.org> wrote: > David, can ...
14 years ago (2011-04-13 14:11:09 UTC) #5
dsymonds
On Thu, Apr 14, 2011 at 12:11 AM, David Symonds <dsymonds@golang.org> wrote: > Now, of ...
14 years ago (2011-04-14 00:12:12 UTC) #6
dsymonds
FYI, this broke for me again just now.
14 years ago (2011-04-19 00:51:53 UTC) #7
rsc
David, do you by any chance have a modified copy of package sort that imports ...
14 years ago (2011-04-22 20:25:07 UTC) #8
rsc
On Tue, Apr 12, 2011 at 20:45, Rob 'Commander' Pike <r@google.com> wrote: > i will ...
14 years ago (2011-04-22 20:28:33 UTC) #9
rsc
LGTM
14 years ago (2011-04-22 20:28:39 UTC) #10
rsc
*** Submitted as http://code.google.com/p/go/source/detail?r=5ca3b23b2f73 *** container/heap: fix circular dependency in test Having the test be ...
14 years ago (2011-04-22 20:29:09 UTC) #11
dsymonds
14 years ago (2011-04-23 00:21:17 UTC) #12
On Sat, Apr 23, 2011 at 6:25 AM, Russ Cox <rsc@golang.org> wrote:

> David, do you by any chance have a
> modified copy of package sort that
> imports "reflect"?

Yeah.
Sign in to reply to this message.

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