]> Cypherpunks repositories - gostls13.git/commit
runtime/pprof: skip TestStackBarrierProfiling
authorAustin Clements <austin@google.com>
Tue, 5 Jan 2016 16:33:25 +0000 (11:33 -0500)
committerAustin Clements <austin@google.com>
Tue, 5 Jan 2016 18:48:19 +0000 (18:48 +0000)
commit59ca8789fb7de9e7e20bbf895b388c7e9b29d2f7
treee050ddf0c9530243d57db825860ef1d16a32dbcb
parent2c67c8c3038ec7dddecb6c1b29f0610f3262134d
runtime/pprof: skip TestStackBarrierProfiling

This test triggers a large number of usleep(100)s. linux/arm, openbsd,
and solaris have very poor timer resolution on the builders, so
usleep(100) actually gives up the whole scheduling quantum. On Linux
and OpenBSD (and probably Solaris), profiling signals are only
generated when a process completes a whole scheduling quantum, so this
test often gets zero profiling signals and fails.

Until we figure out what to do about this, skip this test on these
platforms.

Updates #13405.

Change-Id: Ica94e4a8ae7a8df3e5a840504f83ee2ec08727df
Reviewed-on: https://go-review.googlesource.com/18252
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Austin Clements <austin@google.com>
src/runtime/pprof/pprof_test.go