Skip to content

testing: TestDeepSubtestRace failures #66183

@gopherbot

Description

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

Issue created automatically to collect these failures.

Example (log):

--- FAIL: TestDeepSubtestRace (0.02s)
    testing_test.go:485: C:\Users\gopher\AppData\Local\Temp\1\go-build686162820\b001\testing.test.exe -test.run=^TestDeepSubtestRace$ -test.bench=TestDeepSubtestRace -test.v -test.parallel=2 -test.benchtime=2x: exit status 1
        === RUN   TestDeepSubtestRace
        === RUN   TestDeepSubtestRace/sub
        === RUN   TestDeepSubtestRace/sub/subsub
        === RUN   TestDeepSubtestRace/sub/subsub/subsubsub
        ==================
        WARNING: DATA RACE
        Write at 0x00c00000aa48 by goroutine 11:
          testing_test.doRace.func1()
...
          testing.(*T).Run.gowrap1()
              C:/workdir/go/src/testing/testing.go:1742 +0x44
        ==================
            testing.go:1398: race detected during execution of test
        --- FAIL: TestDeepSubtestRace (0.00s)
            --- FAIL: TestDeepSubtestRace/sub (0.00s)
                --- FAIL: TestDeepSubtestRace/sub/subsub (0.00s)
                    --- FAIL: TestDeepSubtestRace/sub/subsub/subsubsub (0.00s)
        FAIL
    testing_test.go:494: got 1 race reports, want 2

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