Skip to content

Commit

Permalink
fix Distributed include test (#25243)
Browse files Browse the repository at this point in the history
  • Loading branch information
amitmurthy authored and JeffBezanson committed Jan 18, 2018
1 parent 4d93b66 commit 44c0356
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions stdlib/Distributed/test/distributed_exec.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1358,25 +1358,6 @@ catch ex
@test ex.captured.ex.exceptions[2].ex == UndefVarError(:DontExistOn1)
end

@test let
# creates a new worker in the same folder and tries to include file
tmp_file, temp_file_stream = mktemp()
close(temp_file_stream)
tmp_file = relpath(tmp_file, @__DIR__)
try
proc = addprocs_with_testenv(1)
include(tmp_file)
remotecall_fetch(include, proc[1], tmp_file)
rmprocs(proc)
rm(tmp_file)
return true
catch e
println(e)
rm(tmp_file, force=true)
return false
end
end == true

let
# creates a new worker in a different folder and tries to include file
tmp_dir = mktempdir()
Expand Down

0 comments on commit 44c0356

Please sign in to comment.