Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
90591917
Commit
90591917
authored
Jul 30, 2018
by
Yorick Peterse
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed pipeline serializer merge conflicts
parent
7a2c038c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
11 deletions
+0
-11
app/serializers/pipeline_serializer.rb
app/serializers/pipeline_serializer.rb
+0
-3
spec/serializers/pipeline_serializer_spec.rb
spec/serializers/pipeline_serializer_spec.rb
+0
-8
No files found.
app/serializers/pipeline_serializer.rb
View file @
90591917
...
...
@@ -11,11 +11,8 @@ class PipelineSerializer < BaseSerializer
:retryable_builds
,
:cancelable_statuses
,
:trigger_requests
,
<<<<<<<
HEAD
{
triggered_by_pipeline:
[
:project
,
:user
]
},
{
triggered_pipelines:
[
:project
,
:user
]
},
=======
>>>>>>>
upstream
/
master
:manual_actions
,
:artifacts
,
{
...
...
spec/serializers/pipeline_serializer_spec.rb
View file @
90591917
...
...
@@ -125,11 +125,7 @@ describe PipelineSerializer do
it
'verifies number of queries'
,
:request_store
do
recorded
=
ActiveRecord
::
QueryRecorder
.
new
{
subject
}
<<<<<<<
HEAD
expect
(
recorded
.
count
).
to
be_within
(
2
).
of
(
35
)
=======
expect
(
recorded
.
count
).
to
be_within
(
2
).
of
(
31
)
>>>>>>>
upstream
/
master
expect
(
recorded
.
cached_count
).
to
eq
(
0
)
end
end
...
...
@@ -148,11 +144,7 @@ describe PipelineSerializer do
# pipeline. With the same ref this check is cached but if refs are
# different then there is an extra query per ref
# https://gitlab.com/gitlab-org/gitlab-ce/issues/46368
<<<<<<<
HEAD
expect
(
recorded
.
count
).
to
be_within
(
2
).
of
(
40
)
=======
expect
(
recorded
.
count
).
to
be_within
(
2
).
of
(
34
)
>>>>>>>
upstream
/
master
expect
(
recorded
.
cached_count
).
to
eq
(
0
)
end
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment