Skip to content

Commit abafb79

Browse files
committed
fixup! Make worker state variable threadsafe
1 parent 01c33e9 commit abafb79

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/threads.jl

+2-2
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ isfailed(rr) = fetch_from_owner(istaskfailed, rr)
4848
# timedwait() instead of @sync to avoid deadlocks.
4949
t1 = Threads.@spawn fetch_from_owner(wait, recv)
5050
t2 = Threads.@spawn fetch_from_owner(wait, send)
51-
@test timedwait(() -> istaskdone(t1), 5) == :ok
52-
@test timedwait(() -> istaskdone(t2), 5) == :ok
51+
@test timedwait(() -> istaskdone(t1), 60) == :ok
52+
@test timedwait(() -> istaskdone(t2), 60) == :ok
5353

5454
# Check the tasks
5555
@test isdone(send)

0 commit comments

Comments
 (0)