Skip to content

runtime/pprof: TestCPUProfileMultithreaded has too few samples on Windows #10842

@bradfitz

Description

@bradfitz

Random test failure:

windows-amd64-gce at 5c7f944
http://build.golang.org/log/135576b3d6ecdc234707e6e75b2829b9c6ea5bef

--- FAIL: TestCPUProfileMultithreaded (0.44s)
    pprof_test.go:164: total 4 CPU profile samples collected
    pprof_test.go:173: runtime/pprof_test.cpuHog1: 2
    pprof_test.go:173: runtime/pprof_test.cpuHog2: 0
    pprof_test.go:187: runtime/pprof_test.cpuHog2 has 0 samples out of 2, want at least 1, ideally 1
FAIL
FAIL    runtime/pprof   8.433s

No flaky tests are tolerated. Let's deflake or delete.

/cc @alexbrainman @dvyukov @minux

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeTestingAn issue that has been verified to require only test changes, not just a test failure.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions