Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes Cluster worker shutdown/restart #1908

Merged
merged 2 commits into from Aug 23, 2019

Commits on Aug 23, 2019

  1. cluster.rb - fixup worker wait in Cluster, add Worker#term?

    1. Cluster - fix wait in #check_workers, #stop_workers
    2. Cluster - add private wait_workers method for use in above
    2. Worker  - add #term? method for use in above
    MSP-Greg committed Aug 23, 2019
    Copy the full SHA
    41a0ec4 View commit details
    Browse the repository at this point in the history
  2. Adds two tests for worker SIGTERM/respawn and phased-restart

    test_worker_spawn_external_term - sends SIGTERM to workers, checks respawn, etc
    
    test_worker_phased_restart - checking worker handling during phased-restart
    MSP-Greg committed Aug 23, 2019
    Copy the full SHA
    9581218 View commit details
    Browse the repository at this point in the history