Gopher Robot submitted the change![Open in Gerrit]()
Unreviewed changes
4 is the latest approved patch-set.
No files were changed between the latest approved patch-set and the submitted one.
Change information
Commit message:
database/sql: use synctest in tests
Replace various polling loops waiting for conditions to occur with
synctest-based synchronization. Replace fake time with synctest's
bubbled time.
Reduces time for "go test database/sql -count=10" from
~12s to ~0.5s on my M4 machine.
Change-Id: I7ea8d740d443e27c50df4d2f22aec6136a6a6964
Files:
- M src/database/sql/sql.go
- M src/database/sql/sql_test.go
Change size: L
Delta: 2 files changed, 379 insertions(+), 215 deletions(-)
Branch: refs/heads/master
Submit Requirements:
Code-Review: +2 by Neal Patel, +2 by Jonathan Amsterdam
TryBots-Pass: LUCI-TryBot-Result+1 by Go LUCI
Open in Gerrit
Gerrit-MessageType: merged
Gerrit-Project: go
Gerrit-Branch: master
Gerrit-Change-Id: I7ea8d740d443e27c50df4d2f22aec6136a6a6964
Gerrit-Change-Number: 758065
Gerrit-PatchSet: 6