Skip to content

Commit

Permalink
Fix environments in test_persistent_tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
lgoettgens committed Nov 16, 2023
1 parent 0f04e76 commit 0e439ea
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]


## [0.8.1] - 2023-11-16

### Changed

- `test_persistent_tasks` now redirects stdout and stderr of the created subtask. Furthermore, the environment of the subtask gets cleared to allow default values for `JULIA_LOAD_PATH` to work. ([#240](https://github.com/JuliaTesting/Aqua.jl/pull/240))


## [0.8.0] - 2023-11-15

### Added
Expand Down
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "Aqua"
uuid = "4c88cf16-eb10-579e-8560-4a9242c79595"
authors = ["Takafumi Arakaki <aka.tkf@gmail.com> and contributors"]
version = "0.8.0"
version = "0.8.1"

[deps]
Compat = "34da2185-b29b-5c13-b0c7-acf172513d20"
Expand Down
3 changes: 2 additions & 1 deletion src/persistent_tasks.jl
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,8 @@ end
end
# Precompile the wrapper package
cmd = `$(Base.julia_cmd()) --project=$wrapperdir -e 'using Pkg; Pkg.precompile()'`
proc = run(cmd; wait = false)
cmd = setenv(cmd, String[])
proc = run(cmd, stdin, stdout, stderr; wait = false)

Check warning on line 156 in src/persistent_tasks.jl

View check run for this annotation

Codecov / codecov/patch

src/persistent_tasks.jl#L155-L156

Added lines #L155 - L156 were not covered by tests
while !isfile(statusfile) && process_running(proc)
sleep(0.5)
end
Expand Down

0 comments on commit 0e439ea

Please sign in to comment.