Skip to content

Commit 740d970

Browse files
try waiting for remote isready
1 parent b02330e commit 740d970

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/distributed_exec.jl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,10 @@ for i in 1:max_attempts
218218

219219
@test remotecall_fetch(k->haskey(Distributed.PGRP.refs, k), wid1, fid) == true
220220

221+
w = timedwait(() -> remotecall_fetch(x->isready(fetch(x)), wid2, fstore), 10)
222+
w == :ok || @info "isready timed out on attempt $i (max $max_attempts)"
223+
@test w == :ok
224+
221225
testval = remotecall_fetch(wid2, fstore) do x
222226
try
223227
put!(fetch(x), :OK)

0 commit comments

Comments
 (0)