diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-05-08 23:10:52 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-05-08 23:10:52 +0000 |
commit | e3a5a36fc818cc968eef59817df859eb175fb5b2 (patch) | |
tree | 4c8f6321cabd6b7d3c3d0c10389ea977b6204744 /spec/services/draft_notes/publish_service_spec.rb | |
parent | eb4a3b6ed231e0bda2ae746c895073148a03b1ba (diff) | |
download | gitlab-ce-e3a5a36fc818cc968eef59817df859eb175fb5b2.tar.gz |
Add latest changes from gitlab-org/gitlab@15-9-stable-ee
Diffstat (limited to 'spec/services/draft_notes/publish_service_spec.rb')
-rw-r--r-- | spec/services/draft_notes/publish_service_spec.rb | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/spec/services/draft_notes/publish_service_spec.rb b/spec/services/draft_notes/publish_service_spec.rb index 44fe9063ac9..9e811eaa25e 100644 --- a/spec/services/draft_notes/publish_service_spec.rb +++ b/spec/services/draft_notes/publish_service_spec.rb @@ -172,7 +172,12 @@ RSpec.describe DraftNotes::PublishService do end end - it 'does not requests a lot from Gitaly', :request_store do + it 'does not request a lot from Gitaly', :request_store, :clean_gitlab_redis_cache do + merge_request + position + + Gitlab::GitalyClient.reset_counts + # NOTE: This should be reduced as we work on reducing Gitaly calls. # Gitaly requests shouldn't go above this threshold as much as possible # as it may add more to the Gitaly N+1 issue we are experiencing. |