diff options
| author | Daniel Theophanes <kardianos@gmail.com> | 2016-11-30 09:30:31 -0800 |
|---|---|---|
| committer | Brad Fitzpatrick <bradfitz@golang.org> | 2016-11-30 18:40:03 +0000 |
| commit | 2a64ebfc6d247e9177190f862b0947ac98c5eb43 (patch) | |
| tree | 3311bb34320bbf491f893e949eed4b96f8d4c6e6 /src/encoding/binary | |
| parent | f6bff1d587c3523d2d1b98f0737a922ac9b5becc (diff) | |
| download | go-2a64ebfc6d247e9177190f862b0947ac98c5eb43.tar.xz | |
database/sql: deflake query cancel tests
Rather then using a sleep in the fake DB, go to a channel
select and wait for the context to be done.
Fixes #18115
Change-Id: I6bc3a29db58c568d0a7ea06c2a354c18c9e798b2
Reviewed-on: https://go-review.googlesource.com/33712
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/encoding/binary')
0 files changed, 0 insertions, 0 deletions
