Skip to content

runtime/pprof: reject cpu profiling with -race #5659

@alexbrainman

Description

@alexbrainman
c:\>go test -race -v runtime/pprof
=== RUN TestCPUProfile
--- FAIL: TestCPUProfile (8.26 seconds)
        pprof_test.go:56: profile too short: [0x0 0x3 0x0 0x2710 0x0 0x0 0x1 0x0]
FAIL
exit status 1
FAIL    runtime/pprof   8.328s

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions