Skip to content

Commit 3a71760

Browse files
do a bit more during test
1 parent 76923d4 commit 3a71760

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/pkg.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -367,11 +367,11 @@ temp_pkg_dir() do project_path
367367
tasks = Task[]
368368
iobs = IOBuffer[]
369369
Sys.CPU_THREADS == 1 && error("Cannot test for atomic usage log file interaction effectively with only Sys.CPU_THREADS=1")
370-
run(pipeline(`$(Base.julia_cmd()) --project="$(pkgdir(Pkg))" -e "import Pkg"`)) # to precompile Pkg given we're in a different depot
370+
run(`$(Base.julia_cmd()) --project="$(pkgdir(Pkg))" -e "import Pkg"`) # to precompile Pkg given we're in a different depot
371371
for i in 1:Sys.CPU_THREADS
372372
iob = IOBuffer()
373373
t = @async run(pipeline(`$(Base.julia_cmd()) --project="$(pkgdir(Pkg))"
374-
-e "import Pkg; t = Timer(10); while isopen(t) Pkg.activate(temp = true); Pkg.Types.EnvCache(); end"`,
374+
-e "import Pkg; t = Timer(10); while isopen(t) Pkg.activate(temp = true); Pkg.add(\"Random\"); Pkg.Types.EnvCache(); end"`,
375375
stderr = iob, stdout = devnull))
376376
push!(tasks, t)
377377
push!(iobs, iob)

0 commit comments

Comments
 (0)