Skip to content

Commit

Permalink
increase timeout for rmprocs (workaround)
Browse files Browse the repository at this point in the history
node termination during node provisioning is not well handled,
resulting in `connect: connection refused (ECONNREFUSED) in connect_to_worker
from the new worker to the terminating worker

for an example, see: https://travis-ci.org/JuliaLang/julia/jobs/186141590
  • Loading branch information
vtjnash committed Dec 22, 2016
1 parent b536c00 commit 51eaece
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ cd(dirname(@__FILE__)) do
push!(results, (test, resp))
if (isa(resp[end], Integer) && (resp[end] > max_worker_rss)) || isa(resp, Exception)
if n > 1
rmprocs(p, waitfor=0.5)
rmprocs(p, waitfor=5.0)
p = addprocs(1; exename=test_exename, exeflags=test_exeflags)[1]
remotecall_fetch(()->include("testdefs.jl"), p)
else
Expand Down

0 comments on commit 51eaece

Please sign in to comment.