FAQ
*** Submitted as
https://code.google.com/p/go/source/detail?r=ecb968e2db24 ***

log/syslog: fix flakey test on slow hosts

Fixes issue 4467.

The syslog tests can fail if the timeout fires before the data arrives
at the mock server. Moving the timeout onto the goroutine that is
calling ReadFrom() and always processing the data returned before
handling the error should improve the reliability of the test.

R=golang-dev, bradfitz
CC=golang-dev
https://codereview.appspot.com/6920047


https://codereview.appspot.com/6920047/

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupgolang-dev @
categoriesgo
postedDec 13, '12 at 5:26a
activeDec 13, '12 at 5:26a
posts1
users1
websitegolang.org

1 user in discussion

Dave: 1 post

People

Translate

site design / logo © 2022 Grokbase