Skip to content

Commit d2ae1aa

Browse files
committed
tests: Only rmprocs with workers
1 parent d30e4a9 commit d2ae1aa

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Diff for: test/runtests.jl

+3-1
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,9 @@ finally
115115
notify(state.halt)
116116
end
117117
sleep(1)
118-
rmprocs(workers())
118+
if nprocs() > 1
119+
rmprocs(workers())
120+
end
119121
end
120122

121123
printstyled(stderr, "Tests Completed!\n"; color=:green)

0 commit comments

Comments
 (0)