Skip to content

Commit

Permalink
ps aux for process
Browse files Browse the repository at this point in the history
  • Loading branch information
djmb committed Oct 11, 2023
1 parent 71f94b8 commit a50f559
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/integration/processes_lifecycle_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,12 @@ class ProcessLifecycleTest < ActiveSupport::TestCase
pause = enqueue_store_result_job("pause", pause: 2.seconds)

signal_process(@pid, :KILL, wait: 1.second)
puts @pid
puts `ps aux | grep #{@pid}`
wait_for_jobs_to_finish_for(5.seconds)
puts "Waited"
puts @pid
puts `ps aux | grep #{@pid}`

assert_not process_exists?(@pid)

Expand Down

0 comments on commit a50f559

Please sign in to comment.