Skip to content

Commit 5efb6a6

Browse files
DilumAluthgestaticfloat
authored andcommitted
Distributed test suite: mark another test as thread-unsafe (#42941)
(cherry picked from commit 7c9d126)
1 parent c108a0d commit 5efb6a6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

stdlib/Distributed/test/distributed_exec.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,9 @@ let wid1 = workers()[1],
293293
end
294294
finalize(rr) # finalize locally
295295
yield() # flush gc msgs
296-
@test remotecall_fetch(k -> haskey(Distributed.PGRP.refs, k), wid1, rrid) == true
296+
if include_thread_unsafe()
297+
@test remotecall_fetch(k -> haskey(Distributed.PGRP.refs, k), wid1, rrid) == true
298+
end
297299
remotecall_fetch(r -> (finalize(take!(r)); yield(); nothing), wid2, fstore) # finalize remotely
298300
sleep(0.5) # to ensure that wid2 messages have been executed on wid1
299301
@test remotecall_fetch(k -> haskey(Distributed.PGRP.refs, k), wid1, rrid) == false

0 commit comments

Comments
 (0)