mirror of
https://github.com/golang/go
synced 2024-11-18 16:14:46 -07:00
50ab37d008
When testing context cancelation behavior do not rely on context timeouts. Use explicit checks in all such tests. In closeDB convert the simple check for zero open conns with a wait loop for zero open conns. Fixes #19024 Fixes #19041 Change-Id: Iecfcc4467e91249fceb21ffd1f7c62c58140d8e9 Reviewed-on: https://go-review.googlesource.com/36902 Run-TryBot: Daniel Theophanes <kardianos@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Russ Cox <rsc@golang.org> |
||
---|---|---|
.. | ||
driver | ||
convert_test.go | ||
convert.go | ||
ctxutil.go | ||
doc.txt | ||
example_test.go | ||
fakedb_test.go | ||
sql_test.go | ||
sql.go |