Add test retries for railties

This commit is contained in:
Gannon McGibbon 2018-10-10 18:33:09 -04:00
parent 81bbcea6cd
commit 2e53c2b130
3 changed files with 8 additions and 1 deletions

View File

@ -99,6 +99,7 @@ instance_eval File.read local_gemfile if File.exist? local_gemfile
group :test do
gem "minitest-bisect"
gem "minitest-retry"
platforms :mri do
gem "stackprof"

View File

@ -323,6 +323,8 @@ GEM
minitest-bisect (1.4.0)
minitest-server (~> 1.0)
path_expander (~> 1.0)
minitest-retry (0.1.9)
minitest (>= 5.0)
minitest-server (1.0.5)
minitest (~> 5.0)
mono_logger (1.1.0)
@ -538,6 +540,7 @@ DEPENDENCIES
libxml-ruby
listen (>= 3.0.5, < 3.2)
minitest-bisect
minitest-retry
mysql2 (>= 0.4.10)
nokogiri (>= 1.8.1)
pg (>= 0.18.0)
@ -576,4 +579,4 @@ DEPENDENCIES
websocket-client-simple!
BUNDLED WITH
1.16.5
1.16.6

View File

@ -16,6 +16,9 @@ require "active_support/testing/autorun"
require "active_support/testing/stream"
require "active_support/testing/method_call_assertions"
require "active_support/test_case"
require "minitest/retry"
Minitest::Retry.use!(verbose: false, retry_count: 1)
RAILS_FRAMEWORK_ROOT = File.expand_path("../../..", __dir__)