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
0
Merge Requests
0
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
Jérome Perrin
gitlab-ce
Commits
de23d651
Commit
de23d651
authored
Jun 12, 2017
by
Robert Speicher
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'retry-specs' into 'master'
Attempts to run RSpec tests twice (1 retry) See merge request !12066
parents
6bea2964
3a33665c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
spec/spec_helper.rb
spec/spec_helper.rb
+2
-3
No files found.
spec/spec_helper.rb
View file @
de23d651
...
@@ -84,9 +84,8 @@ RSpec.configure do |config|
...
@@ -84,9 +84,8 @@ RSpec.configure do |config|
end
end
if
ENV
[
'CI'
]
if
ENV
[
'CI'
]
# Retry only on feature specs that use JS
config
.
around
(
:each
)
do
|
ex
|
config
.
around
:each
,
:js
do
|
ex
|
ex
.
run_with_retry
retry:
2
ex
.
run_with_retry
retry:
3
end
end
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