Remove retries from test runs

If a spec is flaky, we need to fix it. Retry is just hiding problems for
a while and is adding to execution time.
This commit is contained in:
Maikel Linke
2022-09-05 16:29:27 +10:00
parent 82e38d7b91
commit 87274bccc6
4 changed files with 0 additions and 11 deletions

View File

@@ -9,7 +9,6 @@ env:
DISABLE_KNAPSACK: true
TIMEZONE: UTC
COVERAGE: true
RSPEC_RETRY_RETRY_COUNT: 3
RAILS_ENV: test
permissions:

View File

@@ -150,7 +150,6 @@ group :test, :development do
gem 'knapsack'
gem 'letter_opener', '>= 1.4.1'
gem 'rspec-rails', ">= 3.5.2"
gem 'rspec-retry'
gem 'rswag-specs'
gem 'shoulda-matchers'
gem 'timecop'

View File

@@ -547,8 +547,6 @@ GEM
rspec-expectations (~> 3.10)
rspec-mocks (~> 3.10)
rspec-support (~> 3.10)
rspec-retry (0.6.2)
rspec-core (> 3.3)
rspec-support (3.10.3)
rswag-api (2.6.0)
railties (>= 3.1, < 7.1)
@@ -798,7 +796,6 @@ DEPENDENCIES
roadie-rails
roo
rspec-rails (>= 3.5.2)
rspec-retry
rswag-api
rswag-specs
rswag-ui

View File

@@ -12,7 +12,6 @@ require 'view_component/test_helpers'
require_relative "../config/environment"
require 'rspec/rails'
require 'capybara'
require 'rspec/retry'
require 'paper_trail/frameworks/rspec'
require "factory_bot_rails"
@@ -59,11 +58,6 @@ RSpec.configure do |config|
# rspec-rails.
config.infer_base_class_for_anonymous_controllers = false
# Show retries in test output
config.verbose_retry = true
# Set maximum retry count
config.default_retry_count = 0
# Force colored output, whether or not the output is a TTY
config.color_mode = :on