Skip to content

Commit

Permalink
Allow more time for profile print when Sockets and Threads watchdogs …
Browse files Browse the repository at this point in the history
…request info (#44218)
  • Loading branch information
IanButterworth authored Feb 17, 2022
1 parent 7b39515 commit 105c77a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion stdlib/Sockets/test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion test/threads_exec.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 105c77a

Please sign in to comment.