diff options
author | Jon Leighton <j@jonathanleighton.com> | 2013-03-22 12:04:29 +0000 |
---|---|---|
committer | Jon Leighton <j@jonathanleighton.com> | 2013-03-22 12:04:29 +0000 |
commit | 7748d64a76ae140cb80cd54d183bc1f94c192b9d (patch) | |
tree | f203d0fbf268dc0332f251de264de8ee1c85c937 /railties/test/application | |
parent | 79c02e849b94ee680e824828be4ddf029e05ba12 (diff) | |
download | rails-7748d64a76ae140cb80cd54d183bc1f94c192b9d.tar.gz rails-7748d64a76ae140cb80cd54d183bc1f94c192b9d.tar.bz2 rails-7748d64a76ae140cb80cd54d183bc1f94c192b9d.zip |
Send SIGTERM, not SIGQUIT.
SIGTERM is the correct signal for a graceful exit.
This will hopefully resolve #9761.
Diffstat (limited to 'railties/test/application')
-rw-r--r-- | railties/test/application/console_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/test/application/console_test.rb b/railties/test/application/console_test.rb index af495bb450..d586822501 100644 --- a/railties/test/application/console_test.rb +++ b/railties/test/application/console_test.rb @@ -127,7 +127,7 @@ class FullStackConsoleTest < ActiveSupport::TestCase end def kill(pid) - Process.kill('QUIT', pid) + Process.kill('TERM', pid) Process.wait(pid) rescue Errno::ESRCH end |