Commit 1844fdd2 authored by Jan Provaznik's avatar Jan Provaznik

Set proper query limit for pipeline serializer

This limit is (and already was) different in compare to CE
version, bumping this now to reflect recent change introduced by
gitlab-ce!18735.
parent 0944f1bb
...@@ -139,7 +139,7 @@ describe PipelineSerializer do ...@@ -139,7 +139,7 @@ describe PipelineSerializer do
# pipeline. With the same ref this check is cached but if refs are # pipeline. With the same ref this check is cached but if refs are
# different then there is an extra query per ref # different then there is an extra query per ref
# https://gitlab.com/gitlab-org/gitlab-ce/issues/46368 # https://gitlab.com/gitlab-org/gitlab-ce/issues/46368
expect(recorded.count).to be_within(1).of(51) expect(recorded.count).to be_within(1).of(56)
expect(recorded.cached_count).to eq(0) expect(recorded.cached_count).to eq(0)
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