Thank you for your enthusiasm, but I'm not sure what problem this CL fixes. Can ...
10 years, 10 months ago
(2013-06-26 04:31:59 UTC)
#2
Thank you for your enthusiasm, but I'm not sure what problem this CL fixes. Can
you please explain a little, possibly in issue 5785 what the problem that this
CL fixes.
On 2013/06/26 04:31:59, dfc wrote: > Thank you for your enthusiasm, but I'm not sure ...
10 years, 10 months ago
(2013-06-26 04:47:13 UTC)
#3
On 2013/06/26 04:31:59, dfc wrote:
> Thank you for your enthusiasm, but I'm not sure what problem this CL fixes.
Can
> you please explain a little, possibly in issue 5785 what the problem that this
> CL fixes.
sorry for this issue, i have made a mistake.
the timeout_test.go seems good.
but unix_test.go maybe has a hidden issue [1]:
for _, laddr := range []string{"", testUnixAddr()} {
...
defer func() {
c.Close()
if la != nil {
defer os.Remove(laddr)
}
}()
...
}
in the defer closures, the os.Remove argument `laddr` use the same variable.
just like FAQ[2] said: they are same instance of the variable `laddr`.
---
[1]
http://golang.org/src/pkg/net/unix_test.go?s=3935:4020#L142
[2]
http://golang.org/doc/faq#closures_and_goroutines
LGTM. Please fix the issue title net: fix shadowing in test cleanup code and I ...
10 years, 8 months ago
(2013-08-05 01:24:50 UTC)
#6
LGTM. Please fix the issue title
net: fix shadowing in test cleanup code
and I will submit this. Once this is submitted, issue 5875 will be closed.
Please open a new issue if you find more test problems.
On 2013/08/05 01:24:50, dfc wrote: > LGTM. Please fix the issue title > > net: ...
10 years, 8 months ago
(2013-08-05 01:42:11 UTC)
#7
On 2013/08/05 01:24:50, dfc wrote:
> LGTM. Please fix the issue title
>
> net: fix shadowing in test cleanup code
Done.
>
> and I will submit this. Once this is submitted, issue 5875 will be closed.
> Please open a new issue if you find more test problems.
"fix some test bug" is just about the worst CL description I have ever seen. ...
10 years, 8 months ago
(2013-08-05 03:44:25 UTC)
#9
"fix some test bug" is just about the worst CL description I have ever
seen. You cited the bug (5785), which is good, but please provide more
context in the CL description itself in future.
Hi Rob, Sorry, this was my fault. I verified that the Author had updated the ...
10 years, 8 months ago
(2013-08-05 03:52:32 UTC)
#10
Hi Rob,
Sorry, this was my fault. I verified that the Author had updated the
title in the CL, but the title of the issue was not updated. I should
have asked them to hg mail the issue again which should have fixed the
issue title.
On Mon, Aug 5, 2013 at 1:44 PM, Rob Pike <r@golang.org> wrote:
> "fix some test bug" is just about the worst CL description I have ever seen.
> You cited the bug (5785), which is good, but please provide more context in
> the CL description itself in future.
>
Issue 10587043: code review 10587043: net: fix some test bug
(Closed)
Created 10 years, 10 months ago by chai2010
Modified 10 years, 8 months ago
Reviewers: r
Base URL:
Comments: 0