We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b7a028 commit d89a845Copy full SHA for d89a845
test/pkg.jl
@@ -377,14 +377,14 @@ temp_pkg_dir() do project_path
377
Pkg.UPDATED_REGISTRY_THIS_SESSION[] = true;
378
Pkg.activate(temp = true);
379
Pkg.add(\"Random\", io = devnull);
380
- i = 0
381
touch(tempname(raw\"$flag_start_dir\")) # file marker that first part has finished
382
while length(readdir(raw\"$flag_start_dir\")) < $(Sys.CPU_THREADS)
383
# sync all processes to start at the same time
384
sleep(0.1)
385
end
386
t = Timer(15)
387
- while !isfile(raw\"$flag_end_file\") && (i <= 1000 || isopen(t))
+ i = 0
+ while !isfile(raw\"$flag_end_file\") && isopen(t)
388
global i += 1
389
try
390
Pkg.Types.EnvCache()
0 commit comments