Skip to content

assert.EventuallyWithT: CollectT is not protected against concurrent use #1418

@dolmen

Description

@dolmen

In assert.EventuallyWithT, if the tick is small, the calls to the condition may overlap (run simultaneously). However they share an access to an assert.CollectT instance which is not protected for concurrent use. Race condition may occur.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions