summaryrefslogtreecommitdiff
path: root/spec/spec_helper.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-02-07 09:08:49 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-02-07 09:08:49 +0000
commit456a7247f9e88fc2518b69a1a00e905c6db6d775 (patch)
tree6235f3838cbf078d46de056442d9562ee4abbd74 /spec/spec_helper.rb
parentddd268b03b6f35c68e5a89606dbfd516f72846fd (diff)
downloadgitlab-ce-456a7247f9e88fc2518b69a1a00e905c6db6d775.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r--spec/spec_helper.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index ad15793f23b..35bf6846ab3 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -124,6 +124,9 @@ RSpec.configure do |config|
if ENV['CI'] || ENV['RETRIES']
# This includes the first try, i.e. tests will be run 4 times before failing.
config.default_retry_count = ENV.fetch('RETRIES', 3).to_i + 1
+ end
+
+ if ENV['FLAKY_RSPEC_GENERATE_REPORT']
config.reporter.register_listener(
RspecFlaky::Listener.new,
:example_passed,