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/lib
diff options
context:
space:
mode:
authorKamil Trzciński <ayufan@ayufan.eu>2019-08-15 14:41:06 +0300
committerKamil Trzciński <ayufan@ayufan.eu>2019-08-15 14:41:06 +0300
commit2c71a94744eba516d10725302ce7ffeb5d4625ab (patch)
tree483b572f99d676ef806b703e260710a0bb22d0a8 /spec/lib
parent97c7b9e88661945e7eb6b010796d523279242272 (diff)
parent6fc7033725f15c4e0d289b4f3cfa4a298fc46867 (diff)
Merge branch '65278-livesum-puma-phase' into 'master'
Remove :puma_phase metrics See merge request gitlab-org/gitlab-ce!31773
Diffstat (limited to 'spec/lib')
-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