]> Cypherpunks repositories - gostls13.git/commit
runtime/pprof: deflake tests for heavily loaded systems
authorIan Lance Taylor <iant@golang.org>
Fri, 16 Dec 2016 01:42:53 +0000 (17:42 -0800)
committerBrad Fitzpatrick <bradfitz@golang.org>
Fri, 16 Dec 2016 15:17:36 +0000 (15:17 +0000)
commitecc4474341504f5893c8333dbb68c520dbe93ca5
tree2d2d62912d2cc3f6ac6a8198b7eaf82b876f7013
parent115e9cac8033163a6edfdce6b28a9be21475bed5
runtime/pprof: deflake tests for heavily loaded systems

In the sampling tests, let the test pass if we get at least 10 samples.

Fixes #18332.

Change-Id: I8aad083d1a0ba179ad6663ff43f6b6b3ce1e18cd
Reviewed-on: https://go-review.googlesource.com/34507
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/runtime/pprof/pprof_test.go