File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -7,10 +7,9 @@ using DistributedNext
77@testset " PersistentWorkers.jl" begin
88 cookie = randstring (16 )
99 port = rand (9128 : 9999 ) # TODO : make sure port is available?
10- worker = run (
11- ` $(Base. julia_exename ()) --startup=no --project=$(dirname (@__DIR__ )) -L testhelpers/PersistentWorkers.jl
12- -e "using .PersistentWorkers; wait(start_worker_loop($port ; cluster_cookie=$(repr (cookie)) )[1])"` ;
13- wait= false )
10+ helpers_path = joinpath (@__DIR__ , " testhelpers" , " PersistentWorkers.jl" )
11+ cmd = ` $(Base. julia_exename ()) --startup=no --project=$(Base. active_project ()) -L $(helpers_path) -e "using .PersistentWorkers; wait(start_worker_loop($port ; cluster_cookie=$(repr (cookie)) )[1])"`
12+ worker = run (pipeline (cmd; stdout , stderr ); wait= false )
1413 try
1514 cluster_cookie (cookie)
1615 sleep (1 )
You can’t perform that action at this time.
0 commit comments