Skip to content

Commit

Permalink
Wait for rmprocs to remove temporarily added workers in parallel test
Browse files Browse the repository at this point in the history
  • Loading branch information
amitmurthy committed Dec 22, 2016
1 parent c5285fd commit 6aba11e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/parallel_exec.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1250,7 +1250,7 @@ function test_add_procs_threaded_blas()
for thread_count in thread_counts_by_process
@test thread_count == 1
end
rmprocs(processes_added)
@test :ok == rmprocs(processes_added; waitfor=10.0)

processes_added = addprocs(2, enable_threaded_blas=true)
for proc_id in processes_added
Expand All @@ -1266,7 +1266,7 @@ function test_add_procs_threaded_blas()
for thread_count in thread_counts_by_process
@test thread_count >= 1
end
rmprocs(processes_added)
@test :ok == rmprocs(processes_added; waitfor=10.0)
end
test_add_procs_threaded_blas()

Expand Down

0 comments on commit 6aba11e

Please sign in to comment.