• Dave Cheney's avatar
    log/syslog: fix flakey test on slow hosts · ae12e963
    Dave Cheney authored
    Fixes #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://golang.org/cl/6920047
    ae12e963
Name
Last commit
Last update
..
syslog Loading commit data...
log.go Loading commit data...
log_test.go Loading commit data...