aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/database/sql/sql.go
diff options
context:
space:
mode:
authorDave Cheney <dave@cheney.net>2012-12-13 16:26:20 +1100
committerDave Cheney <dave@cheney.net>2012-12-13 16:26:20 +1100
commitae12e963505f71bfd5ddb427ba0f0c546c422c30 (patch)
treed82b0fb8894a8d06b27935cb5ec23d00f527c697 /src/pkg/database/sql/sql.go
parent641d152935233c4d25f84a11c02f5b8fedf91210 (diff)
downloadgo-ae12e963505f71bfd5ddb427ba0f0c546c422c30.tar.xz
log/syslog: fix flakey test on slow hosts
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
Diffstat (limited to 'src/pkg/database/sql/sql.go')
0 files changed, 0 insertions, 0 deletions