From 8641b0af6b178abc881609b6ef33ede94f742758 Mon Sep 17 00:00:00 2001 From: Ian Butterworth Date: Sun, 25 Feb 2024 22:16:27 -0500 Subject: [PATCH] capture stderr from SIGTERM test --- test/distributed_exec.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/distributed_exec.jl b/test/distributed_exec.jl index 8e880bc..f4ea68f 100644 --- a/test/distributed_exec.jl +++ b/test/distributed_exec.jl @@ -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))