aboutsummaryrefslogtreecommitdiff
path: root/src/database/sql/sql.go
diff options
context:
space:
mode:
authorDaniel Theophanes <kardianos@gmail.com>2017-01-25 08:27:45 -0800
committerBrad Fitzpatrick <bradfitz@golang.org>2017-01-25 21:57:28 +0000
commit165cfbc409d54154263c26fb0cc2b2acd75d8b53 (patch)
tree7d1b52eea6ebea2656fd16c743d41e86819181a0 /src/database/sql/sql.go
parentea73649343b5d199d7f3d8525399e7a07a608543 (diff)
downloadgo-165cfbc409d54154263c26fb0cc2b2acd75d8b53.tar.xz
database/sql: let tests wait for db pool to come to expected state
Slower builders were failing TestQueryContext because the cancel and return to conn pool happens async. TestQueryContext already uses a wait method for this reason. Use the same method for other context tests. Fixes #18759 Change-Id: I84cce697392b867e4ebdfadd38027a06ca14655f Reviewed-on: https://go-review.googlesource.com/35750 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/database/sql/sql.go')
0 files changed, 0 insertions, 0 deletions