Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2019-04-10 12:19:42 +0300
committerLin Jen-Shin <godfat@godfat.org>2019-04-10 12:25:26 +0300
commit919e22e05bdcd0e1edb642e0e04be02321387cea (patch)
tree8147d872527807b1e32e0300aa4e8843eed7f121 /spec/spec_helper.rb
parente861af409df4139e2a1c7434b1ca490710c786f1 (diff)
Double retries for rspec-retries
It was 2*4 => 8 times before, so 4 times is still half retries
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r--spec/spec_helper.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 953cf1519bb..60db3e1bc46 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -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,