1
0
mirror of https://github.com/golang/go synced 2024-09-25 15:20:13 -06:00

runtime/pprof: disable flaky TestGoroutineSwitch on windows

Update #6417

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/14604043
This commit is contained in:
Alex Brainman 2013-10-15 13:00:06 +11:00
parent 2acb80b5e5
commit 9a420b79d7

View File

@ -184,6 +184,9 @@ func TestCPUProfileWithFork(t *testing.T) {
// If it did, it would see inconsistent state and would either record an incorrect stack // If it did, it would see inconsistent state and would either record an incorrect stack
// or crash because the stack was malformed. // or crash because the stack was malformed.
func TestGoroutineSwitch(t *testing.T) { func TestGoroutineSwitch(t *testing.T) {
if runtime.GOOS == "windows" {
t.Skip("flaky test; see http://golang.org/issue/6417")
}
// How much to try. These defaults take about 1 seconds // How much to try. These defaults take about 1 seconds
// on a 2012 MacBook Pro. The ones in short mode take // on a 2012 MacBook Pro. The ones in short mode take
// about 0.1 seconds. // about 0.1 seconds.