0
0
Fork 0

Port travis_retry for CI (#7379)

* Port travis_retry for CI

* Add license
This commit is contained in:
Yamagishi Kazutoshi 2018-05-06 17:55:50 +09:00 committed by Eugen Rochko
parent 39efc6d533
commit 8c35d163a5
5 changed files with 48 additions and 14 deletions

View file

@ -1,4 +1,3 @@
#require 'rspec/retry'
require 'simplecov'
GC.disable
@ -12,9 +11,6 @@ end
gc_counter = -1
RSpec.configure do |config|
#config.verbose_retry = true
#config.display_try_failure_messages = true
config.expect_with :rspec do |expectations|
expectations.include_chain_clauses_in_custom_matcher_descriptions = true
end
@ -29,10 +25,6 @@ RSpec.configure do |config|
end
end
#config.around :each do |ex|
# ex.run_with_retry retry: 3
#end
config.before :suite do
Chewy.strategy(:bypass)
end