From f18e2a327126904170a7d6a20b8b957b185f3954 Mon Sep 17 00:00:00 2001 From: Alex Brainman Date: Thu, 19 Dec 2013 14:15:57 +1100 Subject: [PATCH] runtime/pprof: skip tests that fail on windows-amd64-race builder R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/44180043 --- src/pkg/runtime/pprof/pprof_test.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/pkg/runtime/pprof/pprof_test.go b/src/pkg/runtime/pprof/pprof_test.go index eb76b93c44..8eab5b8303 100644 --- a/src/pkg/runtime/pprof/pprof_test.go +++ b/src/pkg/runtime/pprof/pprof_test.go @@ -33,6 +33,10 @@ func TestCPUProfile(t *testing.T) { } func TestCPUProfileMultithreaded(t *testing.T) { + // TODO(brainman): delete when issue 6986 is fixed. + if runtime.GOOS == "windows" && runtime.GOARCH == "amd64" { + t.Skip("skipping broken test on windows-amd64-race") + } buf := make([]byte, 100000) defer runtime.GOMAXPROCS(runtime.GOMAXPROCS(2)) testCPUProfile(t, []string{"crc32.ChecksumIEEE", "crc32.Update"}, func() { @@ -244,6 +248,10 @@ func TestGoroutineSwitch(t *testing.T) { // Test that profiling of division operations is okay, especially on ARM. See issue 6681. func TestMathBigDivide(t *testing.T) { + // TODO(brainman): delete when issue 6986 is fixed. + if runtime.GOOS == "windows" && runtime.GOARCH == "amd64" { + t.Skip("skipping broken test on windows-amd64-race") + } testCPUProfile(t, nil, func() { t := time.After(5 * time.Second) pi := new(big.Int) -- 2.48.1