From 44c0356dc4b8148300904d31394502da5671cf0c Mon Sep 17 00:00:00 2001 From: Amit Murthy Date: Thu, 18 Jan 2018 08:56:11 +0530 Subject: [PATCH] fix Distributed include test (#25243) --- stdlib/Distributed/test/distributed_exec.jl | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/stdlib/Distributed/test/distributed_exec.jl b/stdlib/Distributed/test/distributed_exec.jl index 35586c9ce0844..026535268273e 100644 --- a/stdlib/Distributed/test/distributed_exec.jl +++ b/stdlib/Distributed/test/distributed_exec.jl @@ -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()