Skip to content

Commit

Permalink
debug: try a yield
Browse files Browse the repository at this point in the history
  • Loading branch information
IanButterworth committed Feb 26, 2025
1 parent 1241c27 commit 2fb0774
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion src/Operations.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1098,7 +1098,7 @@ function download_source(ctx::Context, pkgs; readonly=true)
for (pkg, urls, path) in jobs
ispath(path) && continue
mkpath(dirname(path)) # the `packages/Package` dir needs to exist for the pidfile to be created
@info "mkpidlock for $path"
yield()
FileWatching.mkpidlock(path * ".pid", stale_age = 3) do
@info "acquired mkpidlock for $path"
ispath(path) && @goto done
Expand Down
36 changes: 18 additions & 18 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -45,24 +45,24 @@ Logging.with_logger((islogging || Pkg.DEFAULT_IO[] == devnull) ? Logging.Console

test_files = [
"new.jl",
"pkg.jl",
"repl.jl",
"api.jl",
"registry.jl",
"subdir.jl",
"extensions.jl",
"artifacts.jl",
"binaryplatforms.jl",
"platformengines.jl",
"sandbox.jl",
"resolve.jl",
"misc.jl",
"force_latest_compatible_version.jl",
"manifests.jl",
"project_manifest.jl",
"sources.jl",
"workspaces.jl",
"apps.jl",
# "pkg.jl",
# "repl.jl",
# "api.jl",
# "registry.jl",
# "subdir.jl",
# "extensions.jl",
# "artifacts.jl",
# "binaryplatforms.jl",
# "platformengines.jl",
# "sandbox.jl",
# "resolve.jl",
# "misc.jl",
# "force_latest_compatible_version.jl",
# "manifests.jl",
# "project_manifest.jl",
# "sources.jl",
# "workspaces.jl",
# "apps.jl",
]

# Only test these if the test deps are available (they aren't typically via `Base.runtests`)
Expand Down

0 comments on commit 2fb0774

Please sign in to comment.