Skip to content

race condition in waitany test #54814

Open
@vtjnash

Description

@vtjnash

Tests in #53341 are prone to a race condition if they take more than 0.001 seconds to execute, as seen here:

throw=true: Test Failed at /home/vtjnash/julia/test/threads_exec.jl:1237
  Expression: begin
    #= /home/vtjnash/julia/test/threads_exec.jl:1238 =#
    waitany(convert_tasks(tasks_type, tasks); throw = true)
end
    Expected: CompositeException
  No exception thrown

Metadata

Metadata

Assignees

No one assigned

    Labels

    ciContinuous integrationmultithreadingBase.Threads and related functionalitytestThis change adds or pertains to unit tests

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions