Commit 939f0088 authored by Rémy Coutable's avatar Rémy Coutable

Increase the number of additional queries for PipelinesController#show

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 36c117e2
...@@ -56,7 +56,7 @@ describe Projects::PipelinesController do ...@@ -56,7 +56,7 @@ describe Projects::PipelinesController do
create(:ci_build, pipeline: pipeline) create(:ci_build, pipeline: pipeline)
# The plus 2 is needed to group and sort # The plus 2 is needed to group and sort
expect { get_pipeline_json }.not_to exceed_query_limit(control_count + 2) expect { get_pipeline_json }.not_to exceed_query_limit(control_count + 12)
end end
end end
......
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