Descriptionlog/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.
Patch Set 1 #Patch Set 2 : diff -r 3c932286e5f5 https://code.google.com/p/go #Patch Set 3 : diff -r ec3ae5b98922 https://code.google.com/p/go #
Total comments: 1
Patch Set 4 : diff -r 27b36f9dd377 https://code.google.com/p/go #MessagesTotal messages: 3
|