Skip to content

Commit

Permalink
Distributed test suite: mark another test as thread-unsafe (JuliaLang…
Browse files Browse the repository at this point in the history
  • Loading branch information
DilumAluthge authored Nov 5, 2021
1 parent 2cfdbec commit fbe7606
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/distributed_exec.jl
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,9 @@ let wid1 = workers()[1],
end
finalize(rr) # finalize locally
yield() # flush gc msgs
@test remotecall_fetch(k -> haskey(Distributed.PGRP.refs, k), wid1, rrid) == true
if include_thread_unsafe()
@test remotecall_fetch(k -> haskey(Distributed.PGRP.refs, k), wid1, rrid) == true
end
remotecall_fetch(r -> (finalize(take!(r)); yield(); nothing), wid2, fstore) # finalize remotely
sleep(0.5) # to ensure that wid2 messages have been executed on wid1
@test remotecall_fetch(k -> haskey(Distributed.PGRP.refs, k), wid1, rrid) == false
Expand Down

0 comments on commit fbe7606

Please sign in to comment.