Skip to content

runtime/pprof: some tests fail when run with -race flag on windows #6986

@alexbrainman

Description

@alexbrainman
c:\go\root\src\pkg\runtime\pprof>go test -race -short
--- FAIL: TestCPUProfileMultithreaded (32.32 seconds)
        pprof_test.go:64: profile too short: [0x0 0x3 0x0 0x2710 0x0 0x0 0x1 0x0]
--- FAIL: TestMathBigDivide (5.03 seconds)
        pprof_test.go:64: profile too short: [0x0 0x3 0x0 0x2710 0x0 0x0 0x1 0x0]
FAIL
exit status 1
FAIL    runtime/pprof   55.045s

c:\go\root\src\pkg\runtime\pprof>hg id
0eb7eedf1fc6 tip

Alex

PS: Also note that TestCPUProfileMultithreaded runs for too long.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions