From: Alex Brainman Date: Tue, 15 Oct 2013 02:00:06 +0000 (+1100) Subject: runtime/pprof: disable flaky TestGoroutineSwitch on windows X-Git-Tag: go1.2rc2~22 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=9a420b79d741b3343c96e56fbfabc528f4c231a1;p=gostls13.git runtime/pprof: disable flaky TestGoroutineSwitch on windows Update #6417 R=golang-dev, rsc CC=golang-dev https://golang.org/cl/14604043 --- diff --git a/src/pkg/runtime/pprof/pprof_test.go b/src/pkg/runtime/pprof/pprof_test.go index d4f9f633bc..f1fc5faec6 100644 --- a/src/pkg/runtime/pprof/pprof_test.go +++ b/src/pkg/runtime/pprof/pprof_test.go @@ -184,6 +184,9 @@ func TestCPUProfileWithFork(t *testing.T) { // If it did, it would see inconsistent state and would either record an incorrect stack // or crash because the stack was malformed. 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 // on a 2012 MacBook Pro. The ones in short mode take // about 0.1 seconds.