aboutsummaryrefslogtreecommitdiff
path: root/src/database/sql/sql.go
diff options
context:
space:
mode:
authorDaniel Theophanes <kardianos@gmail.com>2016-10-31 07:58:41 -0700
committerBrad Fitzpatrick <bradfitz@golang.org>2016-11-22 23:35:56 +0000
commite12f6ee0ab1e7b4da818054d7ced4247c81fd164 (patch)
treec183d38447f8fdd5d7536a9eab282a3a6b38dd94 /src/database/sql/sql.go
parent199d410df5f52926add3cb6e1ad972a1135b40b1 (diff)
downloadgo-e12f6ee0ab1e7b4da818054d7ced4247c81fd164.tar.xz
database/sql: fix TestPendingConnsAfterErr
TestPendingConnsAfterErr showed a failure on slower systems. Wait and check for the database to close all connections before pronouncing failure. A more careful method was attempted but the connection pool behavior is too dependent on the scheduler behavior to be predictable. Fixes #15684 Change-Id: Iafdbc90ba51170c76a079db04c3d5452047433a4 Reviewed-on: https://go-review.googlesource.com/33418 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