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
84ea3a54
Commit
84ea3a54
authored
Dec 08, 2021
by
Thong Kuah
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix flaky epic issues spec
Fixes
https://gitlab.com/gitlab-org/gitlab/-/issues/347398
parent
5c420d6e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
ee/spec/requests/api/graphql/group/epic/epic_issues_spec.rb
ee/spec/requests/api/graphql/group/epic/epic_issues_spec.rb
+2
-2
No files found.
ee/spec/requests/api/graphql/group/epic/epic_issues_spec.rb
View file @
84ea3a54
...
...
@@ -120,8 +120,8 @@ RSpec.describe 'Getting issues for an epic' do
expect
(
response
).
to
have_gitlab_http_status
(
:success
)
result
=
issue_ids
expect
(
result
[
epic
.
iid
]).
to
eq
[
issue
.
to_global_id
.
to_s
,
confidential_issue
.
to_global_id
.
to_s
]
expect
(
result
[
epic2
.
iid
]).
to
eq
[
issue2
.
to_global_id
.
to_s
]
expect
(
result
[
epic
.
iid
]).
to
match_array
[
issue
.
to_global_id
.
to_s
,
confidential_issue
.
to_global_id
.
to_s
]
expect
(
result
[
epic2
.
iid
]).
to
match_array
[
issue2
.
to_global_id
.
to_s
]
end
it
'avoids N+1 queries'
do
...
...
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