File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -59,14 +59,14 @@ cd(dirname(@__FILE__)) do
59
59
resp = [e]
60
60
end
61
61
push! (results, (test, resp))
62
- if ( isa ( resp[end ], Integer) && ( resp[end ] > max_worker_rss)) || isa (resp, Exception)
62
+ if resp[1 ] isa Exception || resp[end ] > max_worker_rss
63
63
if n > 1
64
64
rmprocs (wrkr, waitfor= 30 )
65
65
p = addprocs_with_testenv (1 )[1 ]
66
66
remotecall_fetch (include, p, " testdefs.jl" )
67
67
else
68
- # single process testing, bail if mem limit reached, or, on an exception.
69
- isa ( resp, Exception) ? rethrow (resp) : error (" Halting tests. Memory limit reached : $resp > $max_worker_rss " )
68
+ # single process testing, bail if mem limit reached
69
+ resp[ 1 ] isa Exception || error (" Halting tests. Memory limit reached : $resp > $max_worker_rss " )
70
70
end
71
71
end
72
72
if ! isa (resp[1 ], Exception)
You can’t perform that action at this time.
0 commit comments