Commit 4ae9c043 authored by Stan Hu's avatar Stan Hu

Remove failing spec from memory_killer_spec.rb

This spec was redundant to another spec and caused failures in CI
because `rss_within_range?` was returning `nil`, which caused
`restart_sidekiq` to run and issue signals to kill processes.

Closes https://gitlab.com/gitlab-org/gitlab/issues/32342
parent 33eb5977
......@@ -75,12 +75,6 @@ describe Gitlab::SidekiqDaemon::MemoryKiller do
end
end
it 'invoke rss_within_range? twice' do
expect(memory_killer).to receive(:rss_within_range?).twice
subject
end
it 'not invoke restart_sidekiq when rss in range' do
expect(memory_killer).to receive(:rss_within_range?).twice.and_return(true)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment