aboutsummaryrefslogtreecommitdiff
path: root/src/encoding/binary
diff options
context:
space:
mode:
authorDaniel Theophanes <kardianos@gmail.com>2016-11-30 09:30:31 -0800
committerBrad Fitzpatrick <bradfitz@golang.org>2016-11-30 18:40:03 +0000
commit2a64ebfc6d247e9177190f862b0947ac98c5eb43 (patch)
tree3311bb34320bbf491f893e949eed4b96f8d4c6e6 /src/encoding/binary
parentf6bff1d587c3523d2d1b98f0737a922ac9b5becc (diff)
downloadgo-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