Skip to content

Commit 105c77a

Browse files
Allow more time for profile print when Sockets and Threads watchdogs request info (#44218)
1 parent 7b39515 commit 105c77a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

stdlib/Sockets/test/runtests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ function killjob(d)
1616
end
1717
if @isdefined(SIGINFO)
1818
ccall(:uv_kill, Cint, (Cint, Cint), getpid(), SIGINFO)
19-
sleep(1)
19+
sleep(5) # Allow time for profile to collect and print before killing
2020
end
2121
ccall(:uv_kill, Cint, (Cint, Cint), getpid(), Base.SIGTERM)
2222
nothing

test/threads_exec.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ function killjob(d)
1616
end
1717
if @isdefined(SIGINFO)
1818
ccall(:uv_kill, Cint, (Cint, Cint), getpid(), SIGINFO)
19-
sleep(1)
19+
sleep(5) # Allow time for profile to collect and print before killing
2020
end
2121
ccall(:uv_kill, Cint, (Cint, Cint), getpid(), Base.SIGTERM)
2222
nothing

0 commit comments

Comments
 (0)