Skip to content

Commit

Permalink
Update distributed_exec.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
DilumAluthge authored Oct 4, 2021
1 parent dc10996 commit 6d45646
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion stdlib/Distributed/test/distributed_exec.jl
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,9 @@ let wid1 = workers()[1],
fstore = RemoteChannel(wid2)

put!(fstore, rr)
@test remotecall_fetch(k -> haskey(Distributed.PGRP.refs, k), wid1, rrid) == true
if Threads.nthreads() == 1
@test remotecall_fetch(k -> haskey(Distributed.PGRP.refs, k), wid1, rrid) == true
end
finalize(rr) # finalize locally
yield() # flush gc msgs
@test remotecall_fetch(k -> haskey(Distributed.PGRP.refs, k), wid1, rrid) == true
Expand Down

0 comments on commit 6d45646

Please sign in to comment.