go/src/database/sql
Dmitri Goutnik 398dcd1cf0 database/sql: make TestTxContextWaitNoDiscard test more robust
Similar to CL 385934, rely on waiter trigger instead of the WAIT query
prefix and factor out the common test code.

Fixes #53222

Change-Id: I46efc85ca102b350bb4dbe8e514921e016870ffb
Reviewed-on: https://go-review.googlesource.com/c/go/+/416655
Reviewed-by: Michael Knyszek <mknyszek@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Bryan Mills <bcmills@google.com>
Run-TryBot: Dmitri Goutnik <dgoutnik@gmail.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
2022-07-11 17:14:33 +00:00
..
driver database/sql/driver: fix typo in driver.go 2022-06-04 21:17:03 +00:00
convert.go all: gofmt -w -r 'interface{} -> any' src 2021-12-13 18:45:54 +00:00
convert_test.go all: gofmt -w -r 'interface{} -> any' src 2021-12-13 18:45:54 +00:00
ctxutil.go std: remove unused bits of code all over the place 2019-09-02 12:57:37 +00:00
doc.txt database/sql: fix outdated package name in doc.txt 2017-06-30 19:11:17 +00:00
example_cli_test.go all: fix some lint issues 2022-05-08 17:27:54 +00:00
example_service_test.go database/sql: add examples for opening and testing a DB pool 2018-11-16 17:17:09 +00:00
example_test.go database/sql: fix incorrect function name in example_test 2020-04-28 14:05:09 +00:00
fakedb_test.go database/sql: fix close rows error ignored in Next 2022-05-19 20:21:12 +00:00
sql.go database/sql: fix close rows error ignored in Next 2022-05-19 20:21:12 +00:00
sql_test.go database/sql: make TestTxContextWaitNoDiscard test more robust 2022-07-11 17:14:33 +00:00