diff options
author | Rémy Coutable <remy@rymai.me> | 2017-10-04 13:24:51 +0200 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2017-10-04 15:14:38 +0200 |
commit | f286d0978483c912e66257fec299a117b81025c3 (patch) | |
tree | df0dfd5d69e6c646d555b595eee200a680f26684 /spec/spec_helper.rb | |
parent | ebfb5a50757b65530e9649815619ec206513c65e (diff) | |
download | gitlab-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.rb | 5 |
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 |