aboutsummaryrefslogtreecommitdiff
path: root/src/database/sql/driver
diff options
context:
space:
mode:
authorCarl Henrik Lunde <chlunde@ifi.uio.no>2017-05-17 19:37:33 +0200
committerAustin Clements <austin@google.com>2017-05-17 18:53:33 +0000
commit2dc27839df7d51b0544c0ac8b2a0b8f030b7a90c (patch)
tree51bcfb17fb752d6a492225a9a2c6d8bfe72cd60f /src/database/sql/driver
parentb3e577b9e7eb6cc0ccdefdd6f686be5a7f329ec3 (diff)
downloadgo-2dc27839df7d51b0544c0ac8b2a0b8f030b7a90c.tar.xz
runtime/pprof: deflake TestGoroutineCounts
TestGoroutineCounts was flaky when running on a system under load. This happened on three builds the last couple of days. Fix this by running this test with a single operating system thread, so we do not depend on the operating system scheduler. 50 000 tests ran without failure with the new version, the old version failed 0.5% of the time. Fixes #15156. Change-Id: I1e5a18d0fef4f72cc9a56e376822b2849cdb0f8b Reviewed-on: https://go-review.googlesource.com/43590 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Reviewed-by: Austin Clements <austin@google.com>
Diffstat (limited to 'src/database/sql/driver')
0 files changed, 0 insertions, 0 deletions