diff options
| author | Daniel Theophanes <kardianos@gmail.com> | 2017-01-25 08:27:45 -0800 |
|---|---|---|
| committer | Brad Fitzpatrick <bradfitz@golang.org> | 2017-01-25 21:57:28 +0000 |
| commit | 165cfbc409d54154263c26fb0cc2b2acd75d8b53 (patch) | |
| tree | 7d1b52eea6ebea2656fd16c743d41e86819181a0 /src/database/sql/sql.go | |
| parent | ea73649343b5d199d7f3d8525399e7a07a608543 (diff) | |
| download | go-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
