Skip to content

race condition in waitany test #54814

Open
@vtjnash

Description

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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