Add retry:0 for controller specs n+1

As a workaround for https://gitlab.com/gitlab-org/gitlab-ce/issues/64116
This commit is contained in:
Thong Kuah 2019-07-08 09:36:22 +12:00
parent 792455450a
commit 56c1292935

View file

@ -878,7 +878,7 @@ describe Projects::MergeRequestsController do
expect(control_count).to be <= 137
end
it 'has no N+1 issues for environments', :request_store do
it 'has no N+1 issues for environments', :request_store, retry: 0 do
# First run to insert test data from lets, which does take up some 30 queries
get_ci_environments_status