Fix spec failures in ee/spec/lib/gitlab/elastic/search_results_spec.rb
There are two issues: 1. When a Wiki was disabled, the spec was still trying to create a Wiki page, which would cause Gitaly to create the repository and fire hooks. Since Rails isn't running an internal API server, this fails. 2. For private Wikis, the Wiki repository needs to be created with the :wiki_repo trait in order to clear hooks to prevent Gitaly from contacting the internal API server.
Showing
Please register or sign in to comment