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
Léo-Paul Géneau
gitlab-ce
Commits
919e22e0
Commit
919e22e0
authored
Apr 10, 2019
by
Lin Jen-Shin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Double retries for rspec-retries
It was 2*4 => 8 times before, so 4 times is still half retries
parent
e861af40
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
spec/spec_helper.rb
spec/spec_helper.rb
+2
-2
No files found.
spec/spec_helper.rb
View file @
919e22e0
...
...
@@ -100,8 +100,8 @@ RSpec.configure do |config|
config
.
include
PolicyHelpers
,
type: :policy
if
ENV
[
'CI'
]
# This includes the first try, i.e. tests will be run
2
times before failing.
config
.
default_retry_count
=
2
# This includes the first try, i.e. tests will be run
4
times before failing.
config
.
default_retry_count
=
4
config
.
reporter
.
register_listener
(
RspecFlaky
::
Listener
.
new
,
:example_passed
,
...
...
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