summaryrefslogtreecommitdiff
path: root/spec/lib/gitlab/sidekiq_middleware
diff options
context:
space:
mode:
authorNick Thomas <nick@gitlab.com>2019-03-01 10:35:28 +0000
committerNick Thomas <nick@gitlab.com>2019-03-01 10:38:38 +0000
commitadddbf437dc9702e06cc6ec2fd8a8b1c38cccdeb (patch)
tree70fc384a9c9787a8a9aa810af644d73d4b54a5a9 /spec/lib/gitlab/sidekiq_middleware
parentb98fd8a5a086e08c4d940c163fea70238b6cffb6 (diff)
downloadgitlab-ce-adddbf437dc9702e06cc6ec2fd8a8b1c38cccdeb.tar.gz
SIGSTP should be SIGTSTP
Diffstat (limited to 'spec/lib/gitlab/sidekiq_middleware')
-rw-r--r--spec/lib/gitlab/sidekiq_middleware/memory_killer_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/gitlab/sidekiq_middleware/memory_killer_spec.rb b/spec/lib/gitlab/sidekiq_middleware/memory_killer_spec.rb
index 8fdbbacd04d..5df56178df2 100644
--- a/spec/lib/gitlab/sidekiq_middleware/memory_killer_spec.rb
+++ b/spec/lib/gitlab/sidekiq_middleware/memory_killer_spec.rb
@@ -37,7 +37,7 @@ describe Gitlab::SidekiqMiddleware::MemoryKiller do
it 'sends the STP, TERM and KILL signals at expected times' do
expect(subject).to receive(:sleep).with(15 * 60).ordered
- expect(Process).to receive(:kill).with('SIGSTP', pid).ordered
+ expect(Process).to receive(:kill).with('SIGTSTP', pid).ordered
expect(subject).to receive(:sleep).with(30).ordered
expect(Process).to receive(:kill).with('SIGTERM', pid).ordered