]> Cypherpunks.ru repositories - gostls13.git/commit
test/chan/doubleselect: fix various races
authorRuss Cox <rsc@golang.org>
Fri, 21 Jan 2011 20:06:44 +0000 (15:06 -0500)
committerRuss Cox <rsc@golang.org>
Fri, 21 Jan 2011 20:06:44 +0000 (15:06 -0500)
commit0a5fc261b65aff5c66033eb22edd6f7acd4f6bbd
treeeafe50b9149c29a16995808c52aea0df200844fa
parent5b5a674b4665f0ca140dd210b319356de21d9184
test/chan/doubleselect: fix various races

There were duplicate closes and missing closes,
with the result that the program was rarely testing
as much as it seemed to be.  Now it finishes.

R=r
CC=golang-dev
https://golang.org/cl/4008046
test/chan/doubleselect.go