go/src/database/sql
Daniel Theophanes a289e9ce75 database/sql: make WAIT tests more robust, rely on waiter trigger
Replace the WAIT query prefix with a function callback.
This fixes timing issues when the testing on loaded servers.

Fixes #51208

Change-Id: I5151b397b7066c27ce6bc02c160dde0b584934bc
Reviewed-on: https://go-review.googlesource.com/c/go/+/385934
Run-TryBot: Daniel Theophanes <kardianos@gmail.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Bryan Mills <bcmills@google.com>
Trust: Daniel Theophanes <kardianos@gmail.com>
2022-02-16 18:05:27 +00:00
..
driver all: gofmt -w -r 'interface{} -> any' src 2021-12-13 18:45:54 +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 database/sql: add examples for opening and testing a DB pool 2018-11-16 17:17:09 +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: make WAIT tests more robust, rely on waiter trigger 2022-02-16 18:05:27 +00:00
sql.go all: gofmt -w -r 'interface{} -> any' src 2021-12-13 18:45:54 +00:00
sql_test.go database/sql: make WAIT tests more robust, rely on waiter trigger 2022-02-16 18:05:27 +00:00