Skip to content

runtime/race: tests are flaky with GOMAXPROCS>1 #4530

@dvyukov

Description

@dvyukov
$ GOMAXPROCS=25 go test -race runtime/race

NoRaceAtomicAddInt64-25                  FAILED+

The problem is that test output leaks into subsequent tests. Thus the log analyzer
thinks the race is in the wrong test.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions