Skip to content

Commit

Permalink
Raise timeout when calling rmprocs() from runtests() (#20271)
Browse files Browse the repository at this point in the history
The short timeout causes occasional failures when building RPM nightlies.
  • Loading branch information
nalimilan authored and amitmurthy committed Jan 31, 2017
1 parent 88ef041 commit 8c2b2df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,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(wrkr, waitfor=5.0)
rmprocs(wrkr, waitfor=30)
p = addprocs(1; exename=test_exename, exeflags=test_exeflags)[1]
remotecall_fetch(()->include("testdefs.jl"), p)
else
Expand Down Expand Up @@ -99,7 +99,7 @@ cd(dirname(@__FILE__)) do
end
end
# Free up memory =)
n > 1 && rmprocs(workers(), waitfor=5.0)
n > 1 && rmprocs(workers(), waitfor=30)
for t in node1_tests
# As above, try to run each test
# which must run on node 1. If
Expand Down

0 comments on commit 8c2b2df

Please sign in to comment.