Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/testitemcontroller.jl
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Shutdown normally completes as soon as every process has reported its termination — a
# few hundred milliseconds. This is the backstop for the case where one never does.
const DEFAULT_SHUTDOWN_GRACE_SECONDS = 30.0

"""
TestItemController(callbacks; error_handler_file=nothing, crash_reporting_pipename=nothing, log_level=:Info)

Expand Down Expand Up @@ -34,10 +38,6 @@
See also [`ControllerCallbacks`](@ref), [`execute_testrun`](@ref), [`shutdown`](@ref),
[`wait_for_shutdown`](@ref).
"""
# Shutdown normally completes as soon as every process has reported its termination — a
# few hundred milliseconds. This is the backstop for the case where one never does.
const DEFAULT_SHUTDOWN_GRACE_SECONDS = 30.0

mutable struct TestItemController{CB<:ControllerCallbacks}
callbacks::CB

Expand Down Expand Up @@ -213,7 +213,7 @@
end

# Shutdown all processes
for (pid, ps) in c.test_processes

Check notice on line 216 in src/testitemcontroller.jl

View workflow job for this annotation

GitHub Actions / julia-ci / lint

unused_binding

Variable has been assigned but not used.
if state(ps.fsm) != ProcessDead
_shutdown_test_process!(c, ps)
end
Expand Down
Loading