Skip to content

Commit

Permalink
fixup! Fix ThreadError on calling stop in Signal.trap
Browse files Browse the repository at this point in the history
  • Loading branch information
tombruijn committed Sep 13, 2024
1 parent 4e4e70c commit 7a32295
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion spec/integration/stop_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,14 @@

output = runner.output

puts "Runner '#{runner.pid}' output #{runner.has_run?} - #{runner.finished?}:\n#{output}"
puts "Runner '#{runner.pid}' has run?: #{runner.has_run?}"
puts "Runner '#{runner.pid}' has finished?: #{runner.finished?}"
puts "Runner '#{runner.pid}' has exited?: #{runner.status.exited?}"
puts "Runner '#{runner.pid}' has stopped?: #{runner.status.stopped?}"
puts "Runner '#{runner.pid}' has signaled?: #{runner.status.signaled?}"
puts "Runner '#{runner.pid}' stopsig: #{runner.status.stopsig}"
puts "Runner '#{runner.pid}' termsig: #{runner.status.termsig}"
puts "Runner '#{runner.pid}' output:\n#{output}"

# Make sure the app exited properly
expect(runner.status.exitstatus).to eq(0)
Expand Down

0 comments on commit 7a32295

Please sign in to comment.