diff options
author | Nick Thomas <nick@gitlab.com> | 2019-03-07 15:37:59 +0300 |
---|---|---|
committer | Nick Thomas <nick@gitlab.com> | 2019-03-07 15:37:59 +0300 |
commit | 12bc7e0bab2ba1e0678066f5394029213ca40333 (patch) | |
tree | c2e51f6d63dc5a5732a4164a27442654ee56e8a5 /spec/lib/gitlab/sidekiq_signals_spec.rb | |
parent | 7bbdb2a29fbc7b8c9f879c42de7063adaa8313c7 (diff) |
Fix Sidekiq process group killing
Diffstat (limited to 'spec/lib/gitlab/sidekiq_signals_spec.rb')
-rw-r--r-- | spec/lib/gitlab/sidekiq_signals_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/gitlab/sidekiq_signals_spec.rb b/spec/lib/gitlab/sidekiq_signals_spec.rb index 4483224f49d..77ecd1840d2 100644 --- a/spec/lib/gitlab/sidekiq_signals_spec.rb +++ b/spec/lib/gitlab/sidekiq_signals_spec.rb @@ -44,7 +44,7 @@ describe Gitlab::SidekiqSignals do expect(Process) .to receive(:kill) - .with(signal, "-#{Process.pid}") + .with(signal, 0) .ordered expect(described_class) |