Skip to content

Commit 55fd0c5

Browse files
authored
Merge pull request #57 from JuliaParallel/callback-test
Fix race condition in the callback tests
2 parents ff55fe6 + 1e69d4f commit 55fd0c5

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

test/distributed_exec.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2040,7 +2040,9 @@ end
20402040
pid = only(workers())
20412041
@test only(starting_managers) isa DistributedNext.LocalManager
20422042
@test started_workers == [pid]
2043+
@setstatus!("foo", pid)
20432044
rmprocs(workers())
2045+
wait_for_deregistration(pid)
20442046
@test exiting_workers == [pid]
20452047
@test exited_workers == [(pid, DistributedNext.WorkerState_terminated)]
20462048

0 commit comments

Comments
 (0)