summaryrefslogtreecommitdiff
path: root/spec/lib
diff options
context:
space:
mode:
Diffstat (limited to 'spec/lib')
-rw-r--r--spec/lib/gitlab/sidekiq_middleware/shutdown_spec.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/spec/lib/gitlab/sidekiq_middleware/shutdown_spec.rb b/spec/lib/gitlab/sidekiq_middleware/shutdown_spec.rb
index 0001795c3f0..255463eb285 100644
--- a/spec/lib/gitlab/sidekiq_middleware/shutdown_spec.rb
+++ b/spec/lib/gitlab/sidekiq_middleware/shutdown_spec.rb
@@ -42,7 +42,10 @@ describe Gitlab::SidekiqMiddleware::Shutdown do
expect(pop_trace).to eq([:sleep, 30])
expect(pop_trace).to eq([:kill, 'SIGTERM', pid])
- expect(pop_trace).to eq([:sleep, 10])
+ expect(pop_trace).to eq([:sleep, 8])
+ expect(pop_trace).to eq([:kill, 'SIGINT', -pid])
+
+ expect(pop_trace).to eq([:sleep, 2])
expect(pop_trace).to eq([:kill, 'SIGKILL', pid])
end