test: Reduce race conditions in chan/nonblock.go.
nonblock.go wants to test nonblocking operations on synchronous channels, so it is inherently racy. This introduces loops to make the race conditions much more likely to succeed when using gccgo. R=r CC=golang-dev https://golang.org/cl/2161043
Showing
Please
register
or
sign in
to comment