summaryrefslogtreecommitdiff
path: root/spec/lib/gitlab
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-01-11 13:22:01 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2023-01-11 13:22:16 +0000
commit01496e9337972f1ea0256bcd1e12996edb883e54 (patch)
treeeed61c95985d0afaedf97c9c661018d5cc60d545 /spec/lib/gitlab
parent8db23545d53ecbd4ea6438f59ab12513d873bf18 (diff)
downloadgitlab-ce-01496e9337972f1ea0256bcd1e12996edb883e54.tar.gz
Add latest changes from gitlab-org/gitlab@15-7-stable-ee
Diffstat (limited to 'spec/lib/gitlab')
-rw-r--r--spec/lib/gitlab/memory/watchdog_spec.rb10
1 files changed, 0 insertions, 10 deletions
diff --git a/spec/lib/gitlab/memory/watchdog_spec.rb b/spec/lib/gitlab/memory/watchdog_spec.rb
index 668ea36d420..1603dda0c39 100644
--- a/spec/lib/gitlab/memory/watchdog_spec.rb
+++ b/spec/lib/gitlab/memory/watchdog_spec.rb
@@ -104,16 +104,6 @@ RSpec.describe Gitlab::Memory::Watchdog, :aggregate_failures, feature_category:
watchdog.call
end
- context 'when gitlab_memory_watchdog ops toggle is off' do
- before do
- stub_feature_flags(gitlab_memory_watchdog: false)
- end
-
- it 'does not trigger any monitor' do
- expect(configuration).not_to receive(:monitors)
- end
- end
-
context 'when process does not exceed threshold' do
it 'does not report violations event' do
expect(reporter).not_to receive(:threshold_violated)