Commit a2cd33d1 authored by Thong Kuah's avatar Thong Kuah

Could not address last 5 queries

Split into followup issue
parent d2ba2951
......@@ -887,7 +887,10 @@ describe Projects::MergeRequestsController do
environment2 = create(:environment, project: forked)
create(:deployment, :succeed, environment: environment2, sha: sha, ref: 'master', deployable: build)
expect { get_ci_environments_status }.not_to exceed_all_query_limit(control_count)
# TODO address the last 5 queries
# See https://gitlab.com/gitlab-org/gitlab-ce/issues/63952
leeway = 5
expect { get_ci_environments_status }.not_to exceed_all_query_limit(control_count + leeway)
end
def get_ci_environments_status(extra_params = {})
......
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