summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorKamil Trzciński <ayufan@ayufan.eu>2019-08-15 11:41:06 +0000
committerKamil Trzciński <ayufan@ayufan.eu>2019-08-15 11:41:06 +0000
commit2c71a94744eba516d10725302ce7ffeb5d4625ab (patch)
tree483b572f99d676ef806b703e260710a0bb22d0a8 /spec
parent97c7b9e88661945e7eb6b010796d523279242272 (diff)
parent6fc7033725f15c4e0d289b4f3cfa4a298fc46867 (diff)
downloadgitlab-ce-2c71a94744eba516d10725302ce7ffeb5d4625ab.tar.gz
Merge branch '65278-livesum-puma-phase' into 'master'
Remove :puma_phase metrics See merge request gitlab-org/gitlab-ce!31773
Diffstat (limited to 'spec')
-rw-r--r--spec/lib/gitlab/metrics/samplers/puma_sampler_spec.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/spec/lib/gitlab/metrics/samplers/puma_sampler_spec.rb b/spec/lib/gitlab/metrics/samplers/puma_sampler_spec.rb
index f4a6e1fc7d9..b8add3c1324 100644
--- a/spec/lib/gitlab/metrics/samplers/puma_sampler_spec.rb
+++ b/spec/lib/gitlab/metrics/samplers/puma_sampler_spec.rb
@@ -46,8 +46,6 @@ describe Gitlab::Metrics::Samplers::PumaSampler do
expect(subject.metrics[:puma_workers]).to receive(:set).with(labels, 2)
expect(subject.metrics[:puma_running_workers]).to receive(:set).with(labels, 2)
expect(subject.metrics[:puma_stale_workers]).to receive(:set).with(labels, 0)
- expect(subject.metrics[:puma_phase]).to receive(:set).once.with(labels, 2)
- expect(subject.metrics[:puma_phase]).to receive(:set).once.with({ worker: 'worker_0' }, 1)
subject.sample
end