Skip to content

Commit

Permalink
capture stderr from SIGTERM test
Browse files Browse the repository at this point in the history
  • Loading branch information
IanButterworth committed Feb 26, 2024
1 parent 2b23ae4 commit 8641b0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/distributed_exec.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1916,7 +1916,7 @@ begin

# Next, ensure we get a log message when a worker does not cleanly exit
w = only(addprocs(1))
@test_logs (:warn, r"sending SIGTERM") begin
@test_warn "signal 15" @test_logs (:warn, r"sending SIGTERM") begin
remote_do(w) do
# Cause the 'exit()' message that `rmprocs()` sends to do nothing
Core.eval(Base, :(exit() = nothing))
Expand Down

0 comments on commit 8641b0a

Please sign in to comment.