Skip to content

testing: TestBenchmarkSubRace failures #68576

@gopherbot

Description

@gopherbot
#!watchflakes
default <- pkg == "testing" && test == "TestBenchmarkSubRace"

Issue created automatically to collect these failures.

Example (log):

=== RUN   TestBenchmarkSubRace
    testing_test.go:609: C:\b\s\w\ir\x\t\go-build666637562\b1145\testing.test.exe -test.run=^BenchmarkSubRacy$ -test.bench=BenchmarkSubRacy -test.v -test.parallel=2 -test.benchtime=2x: exit status 1
        goos: windows
        goarch: amd64
        pkg: testing
        cpu: Intel(R) Xeon(R) CPU @ 2.20GHz
        BenchmarkSubRacy
        BenchmarkSubRacy/non-racy
        BenchmarkSubRacy/non-racy-16         	       2	       750.0 ns/op
        BenchmarkSubRacy/racy
...
              C:/b/s/w/ir/x/w/goroot/src/testing/benchmark.go:193 +0x19c
          testing.(*B).run1.func1()
              C:/b/s/w/ir/x/w/goroot/src/testing/benchmark.go:215 +0x7b
        ==================
            testing.go:1399: race detected during execution of test
        --- FAIL: BenchmarkSubRacy/racy
        --- FAIL: BenchmarkSubRacy
        FAIL
    testing_test.go:619: got 1 race reports; want 2
--- FAIL: TestBenchmarkSubRace (0.04s)

watchflakes

Metadata

Metadata

Assignees

No one assigned

    Labels

    NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions