From 105c77ae68512765b5f769ff3ef05794b8c853dc Mon Sep 17 00:00:00 2001 From: Ian Butterworth Date: Thu, 17 Feb 2022 12:46:29 -0500 Subject: [PATCH] Allow more time for profile print when Sockets and Threads watchdogs request info (#44218) --- stdlib/Sockets/test/runtests.jl | 2 +- test/threads_exec.jl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/stdlib/Sockets/test/runtests.jl b/stdlib/Sockets/test/runtests.jl index 6b8b1be6e055f..a27bb89408f1d 100644 --- a/stdlib/Sockets/test/runtests.jl +++ b/stdlib/Sockets/test/runtests.jl @@ -16,7 +16,7 @@ function killjob(d) end if @isdefined(SIGINFO) ccall(:uv_kill, Cint, (Cint, Cint), getpid(), SIGINFO) - sleep(1) + sleep(5) # Allow time for profile to collect and print before killing end ccall(:uv_kill, Cint, (Cint, Cint), getpid(), Base.SIGTERM) nothing diff --git a/test/threads_exec.jl b/test/threads_exec.jl index 1b146f48e8c57..63e3be1b88cb7 100644 --- a/test/threads_exec.jl +++ b/test/threads_exec.jl @@ -16,7 +16,7 @@ function killjob(d) end if @isdefined(SIGINFO) ccall(:uv_kill, Cint, (Cint, Cint), getpid(), SIGINFO) - sleep(1) + sleep(5) # Allow time for profile to collect and print before killing end ccall(:uv_kill, Cint, (Cint, Cint), getpid(), Base.SIGTERM) nothing