Skip to content

testing: Cleanup races with Logf and Errorf [1.15 backport] #41034

Closed

Description

@gopherbot

@bcmills requested issue #40908 to be considered for backport to the next 1.15 minor release.

@gopherbot, please backport to 1.15. This is a fairly subtle race condition, and the fix is small and contained.

Activity

  1. added this to the Go1.15.1 milestone on Aug 25, 2020
  2. bcmills commented on Aug 25, 2020

    @bcmills
    Contributor

    This was a regression from Go 1.14.7, which is not affected by the race.

    (And that means it is likely that tests written against Go 1.14 will inadvertently trigger the race when run with Go 1.15.)

  3. gopherbot commented on Aug 25, 2020

    @gopherbot
    ContributorAuthor

    Change https://golang.org/cl/250617 mentions this issue: [release-branch.go1.15] testing: fix Cleanup race with Logf and Errorf

  4. cagedmantis commented on Aug 27, 2020

    @cagedmantis
    Contributor

    Approved because this is a critical problem without a workaround.

  5. gopherbot commented on Aug 27, 2020

    @gopherbot
    ContributorAuthor

    Closed by merging 45265c2 to release-branch.go1.15.

  6. added a commit that references this issue on Aug 27, 2020
    45265c2
  7. modified the milestones: Go1.15.1, Go1.15.2 on Sep 1, 2020
  8. locked and limited conversation to collaborators on Sep 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions