diff options
author | Stan Hu <stanhu@gmail.com> | 2019-08-12 19:20:31 +0300 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2019-08-12 19:20:31 +0300 |
commit | 5971cd15086f65fa7202b05b26fc2f980b9f2767 (patch) | |
tree | 65d28e7772ba68386d2ecf4d3a3b2c7ef79f8a58 /spec | |
parent | 7a22b4bae55ba3afcc6fc961e6a0aeb47c7bd937 (diff) | |
parent | 35fb27db277be62dde1f5c58709fd6af59c144a9 (diff) |
Merge branch '65278-fix-puma-master-counter-wipe' into 'master'
Fix active metric files being wiped after the app starts
See merge request gitlab-org/gitlab-ce!31668
Diffstat (limited to 'spec')
-rw-r--r-- | spec/lib/gitlab/cluster/puma_worker_killer_observer_spec.rb | 4 |
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 |