From dc173fbfa097fc456fbfac41f377313c9af253f9 Mon Sep 17 00:00:00 2001 From: Cody Tapscott Date: Mon, 1 Jul 2024 05:30:34 -0400 Subject: [PATCH] Fix race in `test/threads_exec.jl` --- test/threads_exec.jl | 1 + 1 file changed, 1 insertion(+) diff --git a/test/threads_exec.jl b/test/threads_exec.jl index 595f8991d58d7a..ac54dd009390c4 100644 --- a/test/threads_exec.jl +++ b/test/threads_exec.jl @@ -1235,6 +1235,7 @@ end @testset "throw=true" begin tasks, event = create_tasks() push!(tasks, Threads.@spawn error("Error")) + wait(tasks[end]; throw=false) @test_throws CompositeException begin waitany(convert_tasks(tasks_type, tasks); throw=true)