Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorAleksei Lipniagov <alipniagov@gitlab.com>2019-08-12 13:16:25 +0300
committerAleksei Lipniagov <alipniagov@gitlab.com>2019-08-12 13:52:15 +0300
commit35fb27db277be62dde1f5c58709fd6af59c144a9 (patch)
treef6a6974403d20b5460d6d8dd65f3707d67dc3346 /spec
parentc90effd84a2ed93c356b25f80b708f4df33472b0 (diff)
Remove worker label from puma terminations metric
Diffstat (limited to 'spec')
-rw-r--r--spec/lib/gitlab/cluster/puma_worker_killer_observer_spec.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/spec/lib/gitlab/cluster/puma_worker_killer_observer_spec.rb b/spec/lib/gitlab/cluster/puma_worker_killer_observer_spec.rb
index 180520b27e7..6ed9dda08d7 100644
--- a/spec/lib/gitlab/cluster/puma_worker_killer_observer_spec.rb
+++ b/spec/lib/gitlab/cluster/puma_worker_killer_observer_spec.rb
@@ -17,9 +17,7 @@ describe Gitlab::Cluster::PumaWorkerKillerObserver do
it 'increments timeout counter' do
worker = double(index: 0)
- expect(counter)
- .to receive(:increment)
- .with({ worker: 'worker_0' })
+ expect(counter).to receive(:increment)
subject.callback.call(worker)
end