Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion test/distributed_exec.jl
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,9 @@ let wid1 = workers()[1],

put!(fstore, rr)
if include_thread_unsafe_tests()
@test remotecall_fetch(k -> haskey(Distributed.PGRP.refs, k), wid1, rrid) == true
# timedwait() is necessary because wid1 is asynchronously informed of
# the existence of rr/rrid through the call to `put!(fstore, rr)`.
@test timedwait(() -> remotecall_fetch(k -> haskey(Distributed.PGRP.refs, k), wid1, rrid), 10) === :ok
end
finalize(rr) # finalize locally
yield() # flush gc msgs
Expand Down
Loading