summaryrefslogtreecommitdiff
path: root/spec/spec_helper.rb
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2017-10-04 13:24:51 +0200
committerRémy Coutable <remy@rymai.me>2017-10-04 15:14:38 +0200
commitf286d0978483c912e66257fec299a117b81025c3 (patch)
treedf0dfd5d69e6c646d555b595eee200a680f26684 /spec/spec_helper.rb
parentebfb5a50757b65530e9649815619ec206513c65e (diff)
downloadgitlab-ce-f286d0978483c912e66257fec299a117b81025c3.tar.gz
Improve the flaky examples detection jobs
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r--spec/spec_helper.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 576e4ae1d38..48cacba6a8a 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -81,7 +81,10 @@ RSpec.configure do |config|
if ENV['CI']
# 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, :dump_summary)
+ config.reporter.register_listener(
+ RspecFlaky::Listener.new,
+ :example_passed,
+ :dump_summary)
end
config.before(:suite) do